System.UnicodeString Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
beginpublic
BytesOfpublicGet the string's data, in bytes.
ByteTypepublicIndicates the kind of byte that occupies specified position in UnicodeString.
ByteType0public
ByteType1public
c_strpublicReturns a pointer to the underlying string data as const wchar_t*.
cat_printfpublicAppends to value of UnicodeString, given format string and its arguments.
cat_sprintfpublicAppends result of given format string and its arguments to end of UnicodeString.
cat_vprintfpublicAppends the result of given format string and its arguments to end of UnicodeString.
cbeginpublic
cendpublic
CodePagepublicGets the code page of a UnicodeString.
ComparepublicCompares the UnicodeString to another specified string case-sensitively.
CompareICpublicCompares UnicodeString to another specified string, case-insensitively.
CreatepublicCreates instance of System.UnicodeString.
CurrToStrpublicConverts a currency value to its string representation.
CurrToStrFpublicConverts the currency value to its string representation using the indicated float format convention.
datapublicReturns a pointer to the underlying string data.
DeletepublicRemoves a specified number of characters from the string.
Delete0public
Delete1public
DestroypublicFrees an instance of System.UnicodeString.
ElementSizepublicGets the element size of the data in a UnicodeString.
endpublic
FirstCharpublic
FloatToStrFpublicReturns the string representation of a floating-point value.
FmtLoadStrpublicFormats the output using a resourced format string.
FormatpublicFormats a string assembled from UnicodeString, format, and array arguments.
FormatFloatpublicFormats the floating-point value given by value using the format string given by format.
GetRecprotectedGets a struct describing a UnicodeString.
InsertpublicInserts a specified string into UnicodeString.
Insert0public
Insert1public
IntToHexpublicConverts the number into a string containing the number's hexadecimal (base 16) representation.
IsDelimiterpublicReturns true if the specified character matches any character in delimiters string.
IsDelimiter0public
IsDelimiter1public
IsEmptypublicIndicates whether UnicodeString is empty.
IsLeadSurrogatepublicTests whether the element is a lead surrogate.
IsLeadSurrogate0public
IsLeadSurrogate1public
IsPathDelimiterpublicIndicates whether the specified character is a path delimiter.
IsPathDelimiter0public
IsPathDelimiter1public
IsTrailSurrogatepublicTests whether the element is a trail surrogate.
IsTrailSurrogate0public
IsTrailSurrogate1public
LastCharpublicReturns a pointer to the last character in UnicodeString.
LastDelimiterpublicReturns the index of the rightmost character that matches any character in a delimiters string.
LastDelimiter0public
LastDelimiter1public
LengthpublicReturns the length, in characters, of UnicodeString.
LoadStrpublicLoads the string from the compiled resources of a specified module.
LoadStringWpublicLoads the string from the compiled resources of a specified module.
LowerCasepublicReturns a lowercase version of UnicodeString.
operator !=publicCompares two strings.
operator []publicReturns the character at a specified index in the string.
operator +publicConcatenates two UnicodeString values.
operator +=publicAppend UnicodeString.
operator <publicCompares two strings.
operator <=publicCompares two strings.
operator =publicAssigns the rhs string to UnicodeString.
operator ==publicCompares UnicodeString with a specified string.
operator >publicCompares two strings.
operator >=publicCompares two strings.
PospublicReturns character index at which specified substring begins.
Pos0public
Pos1public
printfpublicSets the value of a UnicodeString instance, given the format string and its arguments.
RefCountpublicGets the reference count of UnicodeString.
SetLengthpublicChanges the character length of UnicodeString.
sprintfpublicSets the value of UnicodeString, given the format string and its arguments.
StringOfCharpublicReturns the string with a specified number of characters.
SubStringpublicReturns a specified substring of UnicodeString.
SubString0public
SubString1public
swappublicSwaps UnicodeString with another string.
t_strpublicReturns UnicodeString data as a const w_char*. This function is deprecated. Please use System.UnicodeString.c_str instead.
ThrowIfOutOfRangeprotectedThrows an exception if the index is out of range in UnicodeString.
ToDoublepublicConverts a string to a floating-point value.
ToIntpublicConverts string to integer, throwing an exception if the string is invalid.
ToIntDefpublicConverts string to integer, returning a default value if the string is invalid.
TrimpublicReturns a new UnicodeString without leading spaces, trailing spaces, or control characters.
TrimLeftpublicReturns a new UnicodeString without leading spaces or control characters.
TrimRightpublicReturns a new UnicodeString without trailing spaces or control characters.
UniquepublicMakes a UnicodeString instance unique.
UpperCasepublicReturns the uppercase version of UnicodeString.
vprintfpublicSets the value of UnicodeString, given the format string and its arguments.
w_strpublicReturns UnicodeString data.