A Sandcastle Documented Class Library
StringExtensions Methods |
The StringExtensions type exposes the following members.

Name | Description | |
---|---|---|
![]() ![]() |
CapitalizeFirstLetter |
The method capitalizes the first letter of the string
|
![]() ![]() |
ConvertCyrillicToLatinLetters |
The method converts a cyrillic text to latin one
|
![]() ![]() |
ConvertLatinToCyrillicKeyboard |
The method converts a latin text to cyrillic one
|
![]() ![]() |
GetFileExtension |
The method gets the extension of a string with filename
|
![]() ![]() |
GetFirstCharacters |
The method returns the first N characters of the string
|
![]() ![]() |
GetStringBetween |
The method returns a substring between two strings
|
![]() ![]() |
ToBoolean |
The method checks if the string has a boolean value
|
![]() ![]() |
ToByteArray |
The method converts a string to byte array
|
![]() ![]() |
ToContentType |
The method gets the content type of a file extension
|
![]() ![]() |
ToDateTime |
The method tries to parse the string to DateTime format
|
![]() ![]() |
ToInteger |
The method tries to parse the string to integer
|
![]() ![]() |
ToLong |
The method tries to parse the string to long
|
![]() ![]() |
ToMd5Hash |
The method hashes a string with the MD5 algorithm
|
![]() ![]() |
ToShort |
The method tries to parse the string to short
|
![]() ![]() |
ToValidLatinFileName |
The method replaces all invalid symbols with empty string
|
![]() ![]() |
ToValidUsername |
The method replaces all invalid symbols with empty string
|
