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

text string
The text to convert.

Returns

string
The text in title case.

Exceptions

ArgumentNullException
Thrown when text is null.