Class ConvertEveryWordLargeCharConvention
- Namespace
- SunamoConverters.Converts
- Assembly
- SunamoConverters.dll
Converts text to Title Case convention where every word starts with uppercase.
public class ConvertEveryWordLargeCharConvention
- Inheritance
-
ConvertEveryWordLargeCharConvention
- Inherited Members
- Extension Methods
Methods
ToConvention(string)
Converts text to Title Case where each word starts with an uppercase letter. Examples: "hello world" => "Hello World", "helloWorld" => "Hello World", "hello 12 world" => "Hello 12 World"
public static string ToConvention(string text)
Parameters
textstringThe text to convert.
Returns
- string
The text converted to Title Case.