Pchar

With the code below I am getting an error (identifier not found "PChar")

List:=TStringList.Create();
ExtractStrings([','], [], PChar(s_Html), List);

In VCL and FMX this works.

Is there a unit I have to add to use Pchar?

Thanks

1 Like

PChar is a pointer to a char and pointers do not exist in browser client apps, so PChar isn't supported by the pas2js compiler, thus also not by TMS WEB Core.