Class CaseSyntax

java.lang.Object
io.github.mmm.base.text.CaseSyntax

public class CaseSyntax extends Object
Defines the different styles of lower-/upper-case usage such as camlCase, train-case, etc. For further examples see the constants defined here in CaseSyntax.
The main idea is that you "parse" a given variable name syntax via ofExample(String, boolean) and then you can transform the value of such variable via convert(String). As a small teaser and motivation here are some examples assuming that the value for "VaraibleName" would be "MyValue":
VariableSyntax Result
VariableName MyValue
variablename myvalue
variable-name my-value
VARIABLE_NAME MY_VALUE
variableName myValue
Since:
1.0.0