Table of Contents

Class ConvertCamelConventionWithNumbers

Namespace
SunamoConverters.Converts
Assembly
SunamoConverters.dll

Converts text to and from camel case convention with number support.

public class ConvertCamelConventionWithNumbers
Inheritance
ConvertCamelConventionWithNumbers
Inherited Members
Extension Methods

Methods

FromConvention(string, bool)

Converts text from camel case convention to regular text.

public static string FromConvention(string text, bool isFirstCharUpper = false)

Parameters

text string

The camel case text to convert.

isFirstCharUpper bool

If true, the first character will be uppercase.

Returns

string

The text converted from camel case.

IsCamelWithNumber(string)

Checks if the text is in camel case format with numbers.

public static bool IsCamelWithNumber(string text)

Parameters

text string

The text to check.

Returns

bool

True if the text is in camel case with numbers, false otherwise.

ToConvention(string)

Converts text to camel case convention (does not include numbers).

public static string ToConvention(string text)

Parameters

text string

The text to convert.

Returns

string

The text converted to camel case.