Table of Contents

Method ToCamelCase

Namespace
MongoDB.EntityFrameworkCore
Assembly
MongoDB.EntityFrameworkCore.dll

ToCamelCase(string, CultureInfo)

Converts a given string to camel case.

public static string ToCamelCase(this string input, CultureInfo culture)

Parameters

input string

The input string to convert.

culture CultureInfo

The culture to use in upper-casing and lower-casing letters.

Returns

string

The cleaned camel-cased string.

Remarks

Word boundaries are considered spaces, non-alphanumeric, a transition from lower to upper, and a transition from number to non-number.