Click or drag to resize

StringExtensions Methods

The StringExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCapitalize(String)
Capitalizes the first letter of each word assuming that words are separated by a single space.
Public methodStatic memberCapitalize(String, Boolean)
Capitalizes the first letter of each word assuming that words are separated by a single space.
Public methodStatic memberCapitalize(String, CultureInfo)
Capitalizes the first letter of each word assuming that words are separated by a single space.
Public methodStatic memberCapitalize(String, Boolean, CultureInfo)
Capitalizes the first letter of each word assuming that words are separated by a single space.
Public methodStatic memberCapitalizeSentence(String)
Capitalizes the first letter of a sentence assuming that words are separated by a single space.
Public methodStatic memberCapitalizeSentence(String, Boolean)
Capitalizes the first letter of a sentence assuming that words are separated by a single space.
Public methodStatic memberCapitalizeSentence(String, CultureInfo)
Capitalizes the first letter of a sentence assuming that words are separated by a single space.
Public methodStatic memberCapitalizeSentence(String, Boolean, CultureInfo)
Capitalizes the first letter of a sentence assuming that words are separated by a single space.
Public methodStatic memberTruncate
Truncates a string value to a maximum length. If the length of the string value is already less or equal to maxLength the original string value is returned.
Top
See Also