[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert a character index in Bytes to an Index in characters
Source position: sysstrh.inc line 235
function ByteToCharIndex( |
const S: string; |
Index: Integer |
):Integer; |
ByteToCharIndex returns the index (in characters) of the Index-th byte in S.
This function does not take into account MBCS yet.
|
Convert a length in characters to a length in bytes. |
|
|
Convert a length in bytes to a length in characters. |