[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

StringRefCount

Get the reference count of a string

Declaration

Source position: systemh.inc line 1141

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: Nov 16 2015