System.SysUtils.TStringHelper Methods
InheritedProtected
| Compare | public | Compares two 0-based 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 0-based string against a given string. |
| Contains | public | Returns whether this 0-based string contains the given string. |
| Copy | public | Copies and returns the 0-based given string. |
| CopyTo | public | Copies memory allocated for several characters in the 0-based string to the memory allocated for characters in another 0-based string. |
| CountChar | public | CountChar counts the occurrences of the C character in the string. |
| Create | public | |
| DeQuotedString | public | This method removes the quote characters from a string. |
| EndsText | public | Returns whether the given 0-based string ends with the given 0-based substring. |
| EndsWith | public | Returns whether this 0-based string ends with the given Value substring. |
| Equals | public | Returns whether the two given 0-based 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 0-based 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 0-based string. |
| IndexOfAnyUnquoted | public | |
| Insert | public | Inserts a string in this 0-based string at the given position. |
| IsDelimiter | public | Indicates whether a specified character in this 0-based string matches one of a set of delimiters. |
| IsEmpty | public | Returns whether this 0-based 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 0-based strings together separated by the given Separator. |
| LastDelimiter | public | Returns the string index in this 0-based 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 0-based string. |
| LastIndexOfAny | public | Returns the last index of any character of the AnyOf character array, in the current 0-based string. |
| LowerCase | public | Converts an ASCII string to lowercase. |
| PadLeft | public | Left-aligns a 0-based string into a fixed length text space. |
| PadRight | public | Right aligns this 0-based 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 0-based string. |
| Replace | public | Replaces an old character or string with a new given character or string. |
| Split | public | Splits this 0-based string into substrings, using the given Separator. |
| StartsText | public | |
| StartsWith | public | Returns whether this 0-based 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 0-based string. |
| ToBoolean | public | Converts a string to a Boolean value. |
| ToCharArray | public | Transforms this 0-based 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 0-based string into an all lowercase characters 0-based string and returns it. |
| ToLowerInvariant | public | Transforms this 0-based string into an all-lowercase characters 0-based 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 0-based string into an all-uppercase characters 0-based string and returns it. |
| ToUpperInvariant | public | Transforms this zero-based string into an all-uppercase characters zero-based 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 0-based string. |
| TrimEnd (deprecated) | public | Trims the given trailing characters from this 0-based string. |
| TrimLeft | public | Trims the given leading characters from this 0-based string. |
| TrimRight | public | Trims the given trailing characters from a 0-based string. |
| TrimStart (deprecated) | public | Trims the given leading characters from this 0-based string. |
| UpperCase | public | Converts an ASCII string to uppercase. |