Method | Description | |
---|---|---|
ASCIIToUTF8 ( this s ) : string | ||
AppendToLength ( this s, uint length, char append = ' ' ) : string |
Appends chars to string to reach specified length
|
|
GetChars ( this encoding, byte bytes, int offset, int length ) : char[] | ||
GetRussianCharType ( this c ) : CharType | ||
GetString ( this encoding ) : string | ||
GetString ( this encoding, byte bytes, int offset, int length ) : string | ||
IsNullOrEmpty ( string str ) : bool | ||
IsNumeric ( this c ) : bool | ||
IsNumeric ( this str, bool positiveOnly = true, bool integerOnly = true ) : bool | ||
IsRussianASCIIChar ( this c ) : bool | ||
PrependToLength ( this s, uint length, char prepend = ' ' ) : string |
Prepends chars to string to reach specified length
|
|
Replace ( this s, string oldValue, string newValue ) : string |
Replaces oldValue to newValue. Performance critical!
|
|
ToLower ( this c ) : char | ||
Translit ( this s ) : string | ||
UTF8ToASCII ( this s ) : string |
public static ASCIIToUTF8 ( this s ) : string | ||
s | this | |
return | string |
public static AppendToLength ( this s, uint length, char append = ' ' ) : string | ||
s | this | String append to |
length | uint | Required string length |
append | char | |
return | string |
public static GetChars ( this encoding, byte bytes, int offset, int length ) : char[] | ||
encoding | this | |
bytes | byte | |
offset | int | |
length | int | |
return | char[] |
public static GetRussianCharType ( this c ) : CharType | ||
c | this | |
return | CharType |
public static GetString ( this encoding ) : string | ||
encoding | this | |
return | string |
public static GetString ( this encoding, byte bytes, int offset, int length ) : string | ||
encoding | this | |
bytes | byte | |
offset | int | |
length | int | |
return | string |
public static IsNullOrEmpty ( string str ) : bool | ||
str | string | |
return | bool |
public static IsNumeric ( this str, bool positiveOnly = true, bool integerOnly = true ) : bool | ||
str | this | |
positiveOnly | bool | |
integerOnly | bool | |
return | bool |
public static IsRussianASCIIChar ( this c ) : bool | ||
c | this | |
return | bool |
public static PrependToLength ( this s, uint length, char prepend = ' ' ) : string | ||
s | this | String prepend to |
length | uint | Required string length |
prepend | char | Char to prepend |
return | string |
public static Replace ( this s, string oldValue, string newValue ) : string | ||
s | this | Original string |
oldValue | string | Search string |
newValue | string | Replace string |
return | string |
public static UTF8ToASCII ( this s ) : string | ||
s | this | |
return | string |