Please enable JavaScript to view this site.

Codolex

Use the 'Escape chars' activity to replace special characters with their escape codes.

Uses System.RegularExpressions.TRegEx.Escape

 

RegexEscape

 

Activity properties

 

begin

var EscapedStringValue: string;

 EscapedStringValue := TRegEx.Escape(StringValue, True);

end;

Resulting Code

 

If  'Use wildcards' is checked, the '\*' or '\?' characters are not converted.

© by GDK Software