StringExtensions Methods

Telerik.ILS.Common

StringExtensions Methods

The StringExtensions type exposes the following members.

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