RAD Studio VCL Reference
SysUtils.NextCharIndex Function

Returns the byte index of the next character.

function NextCharIndex(const S: UnicodeString; Index: Integer): Integer; overload;
function NextCharIndex(const S: AnsiString; Index: Integer): Integer; overload;
int NextCharIndex(const UnicodeString S, int Index);
int NextCharIndex(const AnsiString S, int Index);

NextCharIndex returns the byte index of the first byte of the character following the character starting at S[Index]. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!