![]() | StringExtensions Methods |
The StringExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | FormatWith(String, Object) |
Replaces one or more format items in the string with the string representation of a specified object.
|
![]() ![]() | FormatWith(String, IFormatProvider, Object) |
Replaces one or more format items in the string with the string representation of a specified object.
|
![]() ![]() | FormatWithInvariantCulture |
Replaces one or more format items in the string with the string representation of a specified object, using an InvariantCulture.
|
![]() ![]() | FromBase64String |
Converts the string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array.
|
![]() ![]() | GetBytes(String) |
Encodes all the characters in the string into a sequence of UTF8 bytes.
|
![]() ![]() | GetBytes(String, Encoding) |
Encodes all the characters in the string into a sequence of bytes, using the specified Encoding.
|
![]() ![]() | Left |
Returns a new string containing the specified number of characters from the left side of the current string.
|
![]() ![]() | RegexIsMatch(String, String) |
Indicates whether the regular expression finds a match in the input string using the regular expression specified in the pattern parameter.
|
![]() ![]() | RegexIsMatch(String, String, RegexOptions) |
Indicates whether the regular expression finds a match in the input string, using the regular expression specified in the pattern parameter and the matching options supplied in the options parameter.
|
![]() ![]() | RegexMatch(String, String) |
Searches the specified input string for the first occurrence of the regular expression supplied in the pattern parameter.
|
![]() ![]() | RegexMatch(String, String, RegexOptions) |
Searches the input string for the first occurrence of the regular expression supplied in a pattern parameter with matching options supplied in an options parameter.
|
![]() ![]() | RegexMatches(String, String) |
Searches the specified input string for all occurrences of the regular expression specified in the pattern parameter.
|
![]() ![]() | RegexMatches(String, String, RegexOptions) |
Searches the specified input string for all occurrences of the regular expression supplied in a pattern parameter with matching options supplied in an options parameter.
|
![]() ![]() | RegexReplace(String, String, String) |
Within a specified input string, replaces all strings that match a specified regular expression with a specified replacement string.
|
![]() ![]() | RegexReplace(String, String, MatchEvaluator) |
Within a specified input string, replaces all strings that match a specified regular expression with a string returned by a MatchEvaluator delegate.
|
![]() ![]() | RegexReplace(String, String, String, RegexOptions) |
Within a specified input string, replaces all strings that match a specified regular expression with a specified replacement string. Specified options modify the matching operation.
|
![]() ![]() | RegexReplace(String, String, MatchEvaluator, RegexOptions) |
Within a specified input string, replaces all strings that match a specified regular expression with a string returned by a MatchEvaluator delegate. Specified options modify the matching operation.
|
![]() ![]() | RemoveLeft |
Returns a new string in which a specified number of characters from the left side of the current string are deleted.
|
![]() ![]() | RemoveRight |
Returns a new string in which a specified number of characters from the right side of the current string are deleted.
|
![]() ![]() | Right |
Returns a new string containing the specified number of characters from the right side of the current string.
|
![]() ![]() | Times |
Returns a new string by repeating the current string the specified number of times.
|