Skip to content

TStringHelper : Method overview By inheritance

TStringHelper

Member Visibility Description
Compare public Compare 2 strings
CompareOrdinal public Compare 2 strings byte for byte
CompareText public Compare 2 strings case insensitively.
CompareTo public Compare string to another
Contains public Check is the string contains another
Copy public Return a unique copy of a string
CopyTo public Copy part of the string to an array of characters
CountChar public Count the occurrences of a character
Create public Create a new string
DeQuotedString public Return a dequoted version of the string
EndsText public Check if one string is the ending of another.
EndsWith public Check if the string is ended by another.
Equals public Check if 2 strings are equal
Format public Format a string using provided arguments.
GetHashCode public Get a hash code for the string
IndexOf public Find the position (index) of a string or character
IndexOfAny public Find the position (index) of any string or character in a list.
IndexOfAnyUnquoted public Find the position (index) of any string or character in a list.
IndexOfUnQuoted public Index of string, skipping quoted parts.
Insert public Insert a string at a given position
IsDelimiter public Check whether a character at a given position is a delimiter
IsEmpty public Check whether the string is empty.
IsNullOrEmpty public Check if a string is empty
IsNullOrWhiteSpace public Check if a string is empty or contains only whitespace characters.
Join public Join a series of strings, separated using a given separator
LastDelimiter public Return the last position of one of a series of delimiters
LastIndexOf public Find the last position (index) of a string or character
LastIndexOfAny public Find the last position (index) of any string or character in a list.
LowerCase public Return the lowercase version of a string.
PadLeft public Pad the string on the left with an indicated character
PadRight public Pad the string on the right with an indicated character
Parse public Return a string representation of the argument
QuotedString public Return a quoted version of the string
Remove public Remove a number of characters from the string
Replace public Replace occurrences of one string with another.
Split public Split a string in a number of parts
StartsWith public Check if one string starts with another
Substring public Return a part of the string
ToBoolean public Convert string to boolean
ToCharArray public Return the string as an array of characters.
ToDouble public Convert string to double-sized floating point value
ToExtended public Convert string to extended-sized floating point value
ToInt64 public Convert string to 64-bit signed integer
ToInteger public Convert string to 32-bit signed integer
ToLower public Convert to lowercase
ToLowerInvariant public Convert to lowercase
ToSingle public Convert string to single-sized floating point value
ToUpper public Convert to uppercase.
ToUpperInvariant public Convert to uppercase
Trim public Strips a set of trim characters from the beginning and end of the string.
TrimEnd public Alias for TrimRight
TrimLeft public Strips a set of trim characters from the beginning of the string.
TrimRight public Strips a set of trim characters from the end of the string.
TrimStart public Alias for TrimLeft
UpperCase public Return uppercase version of a string