Skip to content

TStringHelper : Method overview by Name

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