RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StrUtils Namespace

This is namespace StrUtils.

Name 
Description 
The following table lists functions in this documentation. 
The following table lists structs, records, enums in this documentation. 
The following table lists types in this documentation. 
The following table lists variables in this documentation. 
The following table lists constants in this documentation. 
Name 
Description 
This is constant StrUtils.WordDelimiters. 
 
Name 
Description 
 
Indicates whether one string is a (case-sensitive) substring of another. 
 
Indicates whether one string is a (case-insensitive) substring of another. 
 
Indicates whether one string is a (case-sensitive) suffix of another. 
 
Indicates whether one string is a (case-insensitive) suffix of another. 
 
Provides the index of a specified string in an array of strings. 
 
Provides the index of a specified string in an array of strings. 
 
Returns the substring of a specified length that appears at the start of a string. 
 
Indicates whether an array of strings contains an exact match to a specified string. 
 
Indicates whether an array of strings contains a case-insensitive match to a specified string. 
 
Returns the substring of a specified length that appears at a specified position in a string. 
 
Replaces all occurrences of a substring with another string. 
 
Replaces all case-insensitive matches of a substring with another string. 
 
Indicates whether two strings are similar. 
 
Returns reversed string. 
 
Returns the substring of a specified length that appears at the end of a string. 
 
Indicates whether one string is a (case-sensitive) prefix of another. 
 
Indicates whether one string is a (case-insensitive) prefix of another. 
 
Performs a case sensitive search for substring ASubText in string AText. Returns true if one or more instances of ASubText exist in AText. 
 
Performs a case insensitive search for substring ASubText in string AText. Returns true if one or more instances of ASubText exist in AText. 
 
Converts an integer representation of a Soundex encoding into the corresponding phonetic string. 
 
Converts a Word representation of a Soundex encoding into the corresponding phonetic string. 
 
Returns the concatenation of a string with itself a specified number of repeats. 
 
Determines if string AText ends with substring ASubText using a case sensitive string comparison. Returns true if AText ends with ASubText. 
 
Determines if string AText ends with substring ASubText using a case insensitive string comparison. Returns true if AText ends with ASubText. 
 
Conditionally returns one of two specified values. 
 
IndexStr determines if any of the strings in the array AValues match the string specified by AText using a case sensitive comparison. It returns the zero-based index of the first match in the array, or -1 if no match is found. 
 
IndexText determines if any of the strings in the array AValues match the string specified by AText using a case insensitive comparison. It returns the zero-based index of the first match in the array, or -1 if no match is found. 
 
Returns the substring of a specified number of bytes that appears at the start of a string. 
 
Returns the substring of a specified length that appears at the start of a string. 
 
Returns the substring of a specified length that appears at the start of a string. 
 
MatchStr determines if any of the strings in the array AValues match the string specified by AText using a case sensitive comparison. It returns true if at least one of the strings in the array match, or false if none of the strings match. 
 
MatchText determines if any of the strings in the array AValues match the string specified by AText using a case insensitive comparison. It returns true if at least one of the strings in the array match, or false if none of the strings match. 
 
Returns the substring of a specified number of bytes that appears at a specified position in a string. 
 
Returns the substring of a specified length that appears at a specified position in a string. 
 
Returns the substring of a specified length that appears at a specified position in a string. 
 
Returns the index value of a substring. 
 
Returns a randomly selected element from an array. 
 
ReplaceStr replaces all instances of string AFromText to string AToText in the source string AText and returns this value as the result. The replacement is case sensitive. 
 
ReplaceText replaces all instances of string AFromText to string AToText in the source string AText and returns this value as the result. The replacement is case insensitive. 
 
ResemblesText uses a Soundex method to determine if string AText and string AOther are similar. The result is True if the two strings a similar according to the Soundex method, and false otherwise. 
 
Returns the reverse of a specified string. 
 
Returns the substring of a specified number of bytes that appears at the end of a string. 
 
Returns the substring of a specified length that appears at the end of a string. 
 
Returns the substring of a specified length that appears at the end of a string. 
 
Locates a substring within a text buffer. 
 
Converts a string into its Soundex representation. 
 
Compares the Soundex representations of two strings. 
 
Converts a string into an integer that represents its phonetic value. 
 
Indicates whether two strings are similar. 
 
Indicates whether two strings are similar. 
 
Converts a string into a Word that represents its phonetic value. 
 
Enter a short sentence, starting with a verb, that states the basic purpose of the property. 
 
StartsText determines if the substring ASubText begins the string AText using a case insensitive algorithm. If ASubText matches the begining of AText, the result is true, otherwise it is false. 
 
Inserts a substring into a specified position of a string, replacing the current characters. 
 
Name 
Description 
 
TStringSeachOption is an enumeration that describes the behavior of string searches. 
Name 
Description 
TCompareTextProc is a function pointer which specifies a function to compare two string values, AText, and AOther, and return true if these two values are equivilant. 
TSoundexIntLength The maximum calculation length for the SoundexInt function. The integer value can be from 1 to 8. 
TSoundexLength The maximum calculation length of the SoundEx function. This value determines how many characters to use when generating the soundex string form the source string. 
TStringSearchOptions is set of the enumeration TStringSeachOption
Name 
Description 
Controls the algorithm used by AnsiResemblesText to determine when two strings are similar. 
Controls the algorithm used by AnsiResemblesText to determine when two strings are similar. It is the same as AnsiResemblesProc
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!