[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 251
function ByteToCharIndex( |
const S: string; |
Index: SizeInt |
):SizeInt; |
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. |