StringExtensions.ToCamelCase Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

ToCamelCase(string, bool)

Returns the camelCased version of a string. See http://en.wikipedia.org/wiki/Camel_case.

public static string ToCamelCase(this string text, bool upperCamelCase = false)

Parameters

text
string

The text to convert.

upperCamelCase
bool

Set to true to get upper camel case aka pascal case

Returns

string

camelCased text. aka lower camel case