 | StringXToWords Method |
Converts the specified camelCase or PascalCase string to words. For example, "localPosition" or
"LocalPosition" becomes "Local Position".
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static string ToWords(
this string camelCase
)
Parameters
- camelCase
- Type: SystemString
A string in camelCase or PascalCase.
Return Value
Type:
StringThe 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