RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.NextCharIndex Function

Returns the byte index of the next character.

Pascal
function NextCharIndex(const S: UnicodeString; Index: Integer): Integer; overload;
function NextCharIndex(const S: AnsiString; Index: Integer): Integer; overload;
C++
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!