Class ConvertCamelConvention
- Namespace
- SunamoConverters.Converts
- Assembly
- SunamoConverters.dll
Converts text to and from camel case convention (firstWordLowerCase).
public class ConvertCamelConvention
- Inheritance
-
ConvertCamelConvention
- Inherited Members
- Extension Methods
Methods
IsCamel(string)
Checks if the text is in camel case format.
public static bool IsCamel(string text)
Parameters
textstringThe text to check.
Returns
- bool
True if the text is in camel case, false otherwise.
ToConvention(string)
Converts text to camel case convention (includes numbers).
public static string ToConvention(string text)
Parameters
textstringThe text to convert.
Returns
- string
The text converted to camel case.