StringManipulation.ToTitleCase Method
- Namespace
- Kampute.DocToolkit.Support
- Assembly
- Kampute.DocToolkit.dll
Definition
Converts a string to title case, where the first letter of each word is capitalized.
public static string ToTitleCase(this string text)Parameters
textstring- The text to convert.
Returns
- string
- The text in title case.
Exceptions
- ArgumentNullException
- Thrown when
textisnull.
