i'm new in delphi, i want to replace some string in Delphi
i'm new in delphi, i want to replace some string in Delphi
characters I wanna replace are tab, newline, carriage return, and space into null
if in c sharp was like this
replacement = Regex.Replace(g, @"\t|\n|\r|\s", "");
is there any something like this in Delphi?
characters I wanna replace are tab, newline, carriage return, and space into null
if in c sharp was like this
replacement = Regex.Replace(g, @"\t|\n|\r|\s", "");
is there any something like this in Delphi?
+Alexander Elagin Well, you can do it either way. Yes TRegEx is a record. Yes it has static methods. It also has instance methods, and state. These are necessary if you want to re-use a compiled regex.
ReplyDeletethx a lot for the answer
ReplyDeleteDavid Heffernan Alexander Elagin Martin Wienold
Cakar Kucing
ReplyDeleteAnd welcome to Delphi!