Method | Description | |
---|---|---|
CustomStartsWith ( this source, string value, int startIndex, System.StringComparison comparisonType ) : bool |
Determines whether the beginning of this string instance matches the specified string when compared using the specified comparison option
|
|
IgnoreCaseEquals ( this source, string value ) : bool |
Determines a equality of two strings with ignoring case
|
|
TabsToSpaces ( this source, int tabSize ) : string |
Replaces tabs by specified number of spaces
|
|
TryGetChar ( this source, int index, char &result ) : bool |
Gets a character at the specified index from the string. A return value indicates whether the receiving succeeded.
|
public static CustomStartsWith ( this source, string value, int startIndex, System.StringComparison comparisonType ) : bool | ||
source | this | The source string |
value | string | The string to compare |
startIndex | int | The search starting position |
comparisonType | System.StringComparison | One of the enumeration values that determines how /// this string and value are compared |
return | bool |
public static IgnoreCaseEquals ( this source, string value ) : bool | ||
source | this | The source string |
value | string | The string to compare |
return | bool |
public static TabsToSpaces ( this source, int tabSize ) : string | ||
source | this | String value |
tabSize | int | Number of spaces in tab |
return | string |
public static TryGetChar ( this source, int index, char &result ) : bool | ||
source | this | The source string |
index | int | The zero-based index of the character |
result | char | When this method returns, contains the character from the string, /// if the receiving succeeded, or null character if the receiving failed. /// The receiving fails if the index out of bounds. |
return | bool |