Despecialize some char in dataset.filter ????

Hi,
is it possible to despecialize ['] in dataset filter ?

Because for example this is not accepted
adataset.filter := '( (someIntvalue = 0) AND (someStringvalue like ''%MyValue%'') ';

We'll need to ask the pas2js team as the dataset is part of the RTL.
I don't see the use of ['] though in your expression? Are you referring to double quotes? You want to filter on %MyValue% ?

Yes I want to filter with a string value from pascal proc

dataset.filter := '(FIELDNAME = ''STRINGVALUE'')'; // embrace by 2 single cote ['] to despecialized as delphi in string var

We'll ask the pas2js team

pas2js team suggests to use

dataset.filter := '(FIELDNAME = ''''''STRINGVALUE'''''')';

double single quote for the Pascal string and double single quote for the filter condition value itself.