The StringUtil type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AppendOrdinalSuffix(Int32) |
Takes a number and appends the ordinal suffix. ie. 1 = 1st, 13 = 13th.
| |
| AppendOrdinalSuffix(String) |
Takes a number and appends the ordinal suffix. ie. 1 = 1st, 13 = 13th.
| |
| CalculateMd5Hash(String) | ||
| CalculateMd5Hash(String, Encoding) | ||
| CalculateSafeDirectoryName | ||
| ContainsSpace |
Determines if a string value contains a space.
| |
| ContainsString |
Determines if a string value contains any of the strings passed in.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetFileContent(String) | ||
| GetFileContent(String, Encoding) | ||
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetHashCode(String) | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HtmlDecode | ||
| IsNumeric |
Determines if a string is a numeric value.
| |
| IsPlural(String) |
Determines if a string is in plural form based on some simple rules.
| |
| IsPlural(String, MapCollection) |
Determines if a string is in plural form based on some simple rules.
| |
| IsPlural(String, String) |
Determines if a string is in plural form based on some simple rules.
| |
| IsSingular(String) |
Determines if a string is in singular form based on some simple rules.
| |
| IsSingular(String, MapCollection) |
Determines if a string is in singular form based on some simple rules.
| |
| IsSingular(String, String) |
Determines if a string is in singular form based on some simple rules.
| |
| LineCount | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NormalizeLineEndings | ||
| ParseBoolean | ||
| ParseConfigString | ||
| PrepareStatement | ||
| ToCamelCase |
Converts a string to use camelCase.
| |
| ToPascalCase |
Converts a string to use PascalCase.
| |
| ToPlural(String) |
Converts a string to plural based on some simple rules.
| |
| ToPlural(String, MapCollection) |
Converts a string to plural based on some simple rules.
| |
| ToPlural(String, String) |
Converts a string to plural based on some simple rules.
| |
| ToSameCase |
Ensures that the value has the same casing as the original value.
| |
| ToSingular(String) |
Converts a string to singular based on some simple rules.
| |
| ToSingular(String, MapCollection) |
Converts a string to singular based on some simple rules.
| |
| ToSingular(String, String) |
Converts a string to singular based on some simple rules.
| |
| ToSpacedWords |
Takes a NameIdentifier and spaces it out into words "Name Identifier".
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| XmlEncode |