Converts a string to singular based on some simple rules.

Namespace: CodeSmith.BaseTemplates
Assembly: CodeSmith.BaseTemplates (in CodeSmith.BaseTemplates.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
[ObsoleteAttribute("This method has been deprecated. Please use StringUtil.ToSingular() instead.")]
public static string ToSingular(
	string value
)
Visual Basic
<ObsoleteAttribute("This method has been deprecated. Please use StringUtil.ToSingular() instead.")> 
Public Shared Function ToSingular ( 
	value As String
) As String

Parameters

value
Type: System..::..String

Return Value

Type: String

See Also