I want to use StringReplace and I put the flags in the set as I have seen in the help. My compiler (c++ builder 6)flags the statement because it can't find MkSet. What do I have to add? Where?
Thanks for your help.
MkSet is a function of DelphiScript. To create a set in C++ you should use the special operators of this programming language. This code will work for you:
<font class="small">Code:</font><hr /><pre>
flags << rfReplaceAll;
flags << rfIgnoreCase;
str = "dataTestDatadata";
str = StringReplace(str, "data", "*", flags);