Click or drag to resize
StringXToWords Method
Converts the specified camelCase, PascalCase, or snake_case string to words. For example, "localPosition", "LocalPosition", and "local_position" become "Local Position".

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

Parameters

compoundWord
Type: SystemString
A string in camelCase, PascalCase, or snake_case.

Return Value

Type: String
The supplied camelCase, PascalCase, or snake_case string broken into individual, capitalized words.

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