System.SysUtils.TStringHelper Methods
InheritedProtected
Compare | public | Compares two strings for equality. |
CompareOrdinal | public | CompareOrdinal compares two strings by evaluating the numeric values of the corresponding characters in each string. |
CompareText | public | Compares two strings by their ordinal value, without case sensitivity. |
CompareTo | public | Compares this string against a given string. |
Contains | public | Returns whether this string contains the given string. |
Copy | public | Copies and returns the given string. |
CopyTo | public | Copies memory allocated for several characters in the string to the memory allocated for characters in another string. |
CountChar | public | CountChar counts the occurrences of the C character in the string. |
Create | public | Creates a string with a specified number of repeating characters. |
DeQuotedString | public | This method removes the quote characters from a string. |
EndsText | public | Returns whether the given string ends with the given substring. |
EndsWith | public | Returns whether this string ends with the given Value substring. |
Equals | public | Returns whether the two given strings are identical. |
Format | public | Identical to Format function. |
GetHashCode | public | Returns the hash code for this string. |
IndexOf | public | Returns an integer that specifies the position of the first occurrence of a character or a substring within this string, starting the search at StartIndex .
This method returns -1 if the value is not found or StartIndex specifies an invalid value. |
IndexOfAny | public | Returns an integer indicating the position of the first given character found in the string. |
IndexOfAnyUnquoted | public | |
Insert | public | Inserts a string in this string at the given position. |
IsDelimiter | public | Indicates whether a specified character in this string matches one of a set of delimiters. |
IsEmpty | public | Returns whether this string is empty (does not contain any characters). |
IsNullOrEmpty | public | Is a static class function that returns whether the given string is empty or not (does not contain any characters). |
IsNullOrWhiteSpace | public | Indicates if a specified string is empty or consists only of white-space characters. |
Join | public | Joins two or more strings together separated by the given Separator . |
LastDelimiter | public | Returns the string index in this string of the rightmost whole character that matches any character in Delims (except null = #0). |
LastIndexOf | public | Returns the last index of the Value string in the current string. |
LastIndexOfAny | public | Returns the last index of any character of the AnyOf character array, in the current string. |
LowerCase | public | Converts an ASCII string to lowercase. |
PadLeft | public | Right-aligns a string into a fixed-length text space. |
PadRight | public | Left-aligns a string into a fixed length text space. |
Parse | public | Parse converts Integer, Boolean and Extended types to their string representations. |
QuotedString | public | QuotedString doubles all the occurrences of a character and also adds it to the edges of the string. |
Remove | public | Removes the substring at the position StartIndex and optionally until the position StartIndex + Count , if specified, from this string. |
Replace | public | Replaces an old character or string with a new given character or string. |
Split | public | Splits this string into substrings, using the given Separator . |
StartsText | public | Returns True if the given string starts with the given substring. |
StartsWith | public | Returns whether this string starts with the given string. |
Substring | public | Returns the substring starting at the position StartIndex and optionally ending at the position StartIndex + Length , if specified, from this string. |
ToBoolean | public | Converts a string to a Boolean value. |
ToCharArray | public | Transforms this string into a TArray<Char> (a character array) and returns it. |
ToDouble | public | Converts a given string to a floating-point value. |
ToExtended | public | Converts a given string to a floating-point value. |
ToInt64 | public | |
ToInteger | public | Converts a string that represents an integer (decimal or hex notation) into a number. |
ToLower | public | Transforms this string into an all lowercase characters string and returns it. |
ToLowerInvariant | public | Transforms this string into an all-lowercase characters string and returns it. The conversion is done using the UTF-16 character representation, according to Unicode specification. |
ToSingle | public | Converts a given string to a floating-point value. |
ToUpper | public | Transforms this string into an all-uppercase characters string and returns it. |
ToUpperInvariant | public | Transforms this string into an all-uppercase characters string and returns it. The conversion is done using the UTF-16 character representation, according to the Unicode specification. |
Trim | public | Trims leading and trailing spaces and control characters from this string. |
TrimEnd (deprecated) | public | Trims the given trailing characters from this string. |
TrimLeft | public | Trims the given leading characters from this string. |
TrimRight | public | Trims the given trailing characters from a string. |
TrimStart (deprecated) | public | Trims the given leading characters from this string. |
UpperCase | public | Converts an ASCII string to uppercase. |