The StringUtil type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAppendOrdinalSuffix(Int32)
Takes a number and appends the ordinal suffix. ie. 1 = 1st, 13 = 13th.
Public methodStatic memberAppendOrdinalSuffix(String)
Takes a number and appends the ordinal suffix. ie. 1 = 1st, 13 = 13th.
Public methodStatic memberCalculateMd5Hash(String)
Public methodStatic memberCalculateMd5Hash(String, Encoding)
Public methodStatic memberCalculateSafeDirectoryName
Public methodStatic memberContainsSpace
Determines if a string value contains a space.
Public methodStatic memberContainsString
Determines if a string value contains any of the strings passed in.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetFileContent(String)
Public methodStatic memberGetFileContent(String, Encoding)
Public methodGetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetHashCode(String)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHtmlDecode
Public methodStatic memberIsNumeric
Determines if a string is a numeric value.
Public methodStatic memberIsPlural(String)
Determines if a string is in plural form based on some simple rules.
Public methodStatic memberIsPlural(String, MapCollection)
Determines if a string is in plural form based on some simple rules.
Public methodStatic memberIsPlural(String, String)
Determines if a string is in plural form based on some simple rules.
Public methodStatic memberIsSingular(String)
Determines if a string is in singular form based on some simple rules.
Public methodStatic memberIsSingular(String, MapCollection)
Determines if a string is in singular form based on some simple rules.
Public methodStatic memberIsSingular(String, String)
Determines if a string is in singular form based on some simple rules.
Public methodStatic memberLineCount
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNormalizeLineEndings
Public methodStatic memberParseBoolean
Public methodStatic memberParseConfigString
Public methodStatic memberPrepareStatement
Public methodStatic memberToCamelCase
Converts a string to use camelCase.
Public methodStatic memberToPascalCase
Converts a string to use PascalCase.
Public methodStatic memberToPlural(String)
Converts a string to plural based on some simple rules.
Public methodStatic memberToPlural(String, MapCollection)
Converts a string to plural based on some simple rules.
Public methodStatic memberToPlural(String, String)
Converts a string to plural based on some simple rules.
Public methodStatic memberToSameCase
Ensures that the value has the same casing as the original value.
Public methodStatic memberToSingular(String)
Converts a string to singular based on some simple rules.
Public methodStatic memberToSingular(String, MapCollection)
Converts a string to singular based on some simple rules.
Public methodStatic memberToSingular(String, String)
Converts a string to singular based on some simple rules.
Public methodStatic memberToSpacedWords
Takes a NameIdentifier and spaces it out into words "Name Identifier".
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberXmlEncode

See Also