[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert a length in characters to a length in bytes.
Source position: sysstrh.inc line 250
function CharToByteLen( |
const S: string; |
MaxLen: SizeInt |
):SizeInt; |
CharToByteLen returns the number of bytes in S, but limits the result to MaxLen
This function does not take into account MBCS yet.
|
Convert a length in bytes to a length in characters. |
|
|
Convert a character index in Bytes to an Index in characters |