Click or drag to resize

StringExtensions Class

This class contains extension-methods for the string type.
Inheritance Hierarchy
SystemObject
  Enkoni.FrameworkStringExtensions

Namespace:  Enkoni.Framework
Assembly:  Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntax
public static class StringExtensions

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