Click or drag to resize
StringXToWords Method
Converts the specified camelCase or PascalCase string to words. For example, "localPosition" or "LocalPosition" becomes "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 camelCase
)

Parameters

camelCase
Type: SystemString
A string in camelCase or PascalCase.

Return Value

Type: String
The supplied camelCase or PascalCase 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