How to use with
String in XE5? This conversion slow down the function a lot.
Code:
function CharPos_JOH_SSE2_1_b(Ch: Char; const Str: AnsiString; aStart: Integer = 1): Integer;
Zitat:
[dcc32 Warning] Project2.dpr(199): W1057 Implicit string cast from 'AnsiString' to 'string'
Most likely modify the function to accept WideChar and WideString.