Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

StringRefCount

Get the reference count of a string.

Declaration

Source position: systemh.inc line 1357

function StringRefCount(

  const S: RawByteString

):SizeInt; overload;

function StringRefCount(

  const S: UnicodeString

):SizeInt; overload;

Description

StringRefCount returns the reference count 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, 0 is returned.

See also

StringCodePage

  

Get the code page of a string.

StringElementSize

  

Get the character size of a string.


Documentation generated on: Oct 02 2024