StringExtensions Methods |
The StringExtensions type exposes the following members.
Name | Description | |
---|---|---|
CompareToCSafe(String, String) |
Compares the current string with another string. This method is culture safe - it fixes some problems with different cultures.
| |
CompareToCSafe(String, String, Boolean) |
Compares the current string with another string. This method is culture safe - it fixes some problems with different cultures.
| |
EndsWithAny |
Returns true if the string ends with any of the given strings
| |
EndsWithCSafe(String, String) |
Determines whether the ending of this string instance matches the specified string when compared using the specified comparison option. This method is culture safe - it fixes some problems with different cultures.
| |
EndsWithCSafe(String, String, Boolean) |
Determines whether the ending of this string instance matches the specified string. This method is culture safe - it fixes some problems with different cultures.
| |
EndsWithCSafe(String, String, StringComparison) |
Determines whether the ending of this string instance matches the specified string. This method is culture safe - it fixes some problems with different cultures.
| |
EqualsCSafe(String, Object) |
Determines whether two specified String objects have the same value. This method is culture safe - it fixes some problems with different cultures.
| |
EqualsCSafe(String, String) |
Determines whether two specified String objects have the same value. This method is culture safe - it fixes some problems with different cultures.
| |
EqualsCSafe(String, Object, Boolean) | Obsolete.
Determines whether two specified String objects have the same value. This method is culture safe - it fixes some problems with different cultures.
| |
EqualsCSafe(String, String, Boolean) |
Determines whether two specified String objects have the same value
| |
EqualsCSafe(String, String, StringComparison) |
Determines whether two specified String objects have the same value. This method is culture safe - it fixes some problems with different cultures.
| |
IndexOfCSafe(String, Char) |
Reports the index of the first occurrence of the specified char in this instance. This method is culture safe - it fixes some problems with different cultures.
| |
IndexOfCSafe(String, String) |
Reports the index of the first occurrence of the specified string in the current String object. This method is culture safe - it fixes some problems with different cultures.
| |
IndexOfCSafe(String, Char, Int32) |
Reports the index of the first occurrence of the specified char in this instance. The search starts at a specified character position. This method is culture safe - it fixes some problems with different cultures.
| |
IndexOfCSafe(String, String, Boolean) |
Reports the index of the first occurrence of the specified string in the current String object. This method is culture safe - it fixes some problems with different cultures.
| |
IndexOfCSafe(String, String, Int32) |
Reports the index of the first occurrence of the specified string in this instance. The search starts at a specified character position. This method is culture safe - it fixes some problems with different cultures.
| |
IndexOfCSafe(String, String, StringComparison) | Obsolete.
Reports the index of the first occurrence of the specified string in the current String object. This method is culture safe - it fixes some problems with different cultures.
| |
IndexOfCSafe(String, String, Int32, Boolean) |
Reports the index of the first occurrence of the specified string in this instance. The search starts at a specified character position. This method is culture safe - it fixes some problems with different cultures.
| |
LastIndexOfCSafe(String, Char) |
Reports the index position of the last occurrence of a specified char within this instance. This method is culture safe - it fixes some problems with different cultures.
| |
LastIndexOfCSafe(String, String) |
Reports the index position of the last occurrence of a specified string within this instance. The search starts at a specified character position. This method is culture safe - it fixes some problems with different cultures.
| |
LastIndexOfCSafe(String, String, Boolean) |
Reports the index position of the last occurrence of a specified string within this instance. This method is culture safe - it fixes some problems with different cultures.
| |
LastIndexOfCSafe(String, String, Int32) |
Reports the index position of the last occurrence of a specified string within this instance. The search starts at a specified character position. This method is culture safe - it fixes some problems with different cultures.
| |
LastIndexOfCSafe(String, Char, Int32, Int32) | Obsolete.
Reports the index position of the last occurrence of a specified char within this instance. The search starts at a specified character position. This method is culture safe - it fixes some problems with different cultures.
| |
StartsWithAny |
Returns true if the string starts with any of the given strings
| |
StartsWithCSafe(String, String) |
Determines whether the beginning of this string instance matches the specified string when compared using the specified comparison option. This method is culture safe - it fixes some problems with different cultures.
| |
StartsWithCSafe(String, String, Boolean) |
Determines whether the beginning of this string instance matches the specified string when compared using the specified comparison option. This method is culture safe - it fixes some problems with different cultures.
| |
StartsWithCSafe(String, String, StringComparison) |
Determines whether the beginning of this string instance matches the specified string when compared using the specified comparison option. This method is culture safe - it fixes some problems with different cultures.
| |
ToLowerCSafe |
Converts string to lower case. This method is culture safe - it fixes some problems with different cultures.
| |
ToUpperCSafe |
Converts string to upper case. This method is culture safe - it fixes some problems with different cultures.
|