What would be the fastest way to check if an AnsiString equals some other AnsiString?
Currently i am doing this to check if the string is equal:
if AnsiCompareStr(mystring, 'helloworld') = 0 then
ShowMessage('equal');
Also what would be the fastest way to check if a AnsiString contains another AnsiString (not complete Check)?
For this i am using:
StrPos(mystring, 'world') <> nil then
ShowMessage('contains');