Click or drag to resize
StringXToTitleCase Method
Converts the words to title case words. For example, "local position" becomes "Local Position".

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static string ToTitleCase(
	this string words
)

Parameters

words
Type: SystemString
A string containing one or more words.

Return Value

Type: String
The supplied words converted to title case.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also