| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Get the character size of a string.
Source position: systemh.inc line 1142
| function StringElementSize( | 
| const S: RawByteString | 
| ):Word; overload; | 
| const S: UnicodeString | 
| ):Word; overload; | 
StringCodePage returns the character size of a string (S), regardless of the string type. It accesses the internal structures of the string to retrieve this information. For an empty string, SizeOf(AnsiChar) (normally 1) is returned.
| 
 | Get the code page of a string | |
| 
 | Get the reference count of a string |