Click or drag to resize

StringExtensions Methods

[This is preliminary documentation and is subject to change.]

The StringExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleAddSpacesBetweenCases
Adds spaces between cases in a string. When toSentence is true, converts it to lowercase too
Public methodStatic memberConvertToT
Converts a string to a collection of T
Public methodStatic memberParseAsDateTimeInvariant
Converts a string to UTC datetime. The string may also be an OLE Automation date number
Public methodStatic memberParseAsVersion
Converts a string as Version
Public methodStatic memberParseDoubleAsInvariant
Converts a string to double, ignoring culture settings
Public methodStatic memberParseGuidAsInvariant
Converts a string to GUID
Public methodStatic memberParseIntAsInvariant
Converts a string to integer, ignoring culture settings
Public methodStatic memberToCamelCase
Converts a string to camelCase
Public methodStatic memberToEnumTEnum(String)
Converts a string to an enum. When converting fails, throws an exception
Public methodStatic memberToEnumTEnum(String, TEnum)
Converts a string to an enum. When converting fails, returns defaultValue instead
Public methodStatic memberTryMatchEnumValueTEnum
Public methodStatic memberUppercaseFirst
Converts the first character in a string to uppercase
Top
See Also