Java Utililty Methods String Decamel Case

List of utility methods to do String Decamel Case

Description

The list of methods to do String Decamel Case are organized into topic(s).

Method

StringdecamelizeAndReplaceByHyphen(String s)
Replaces the Capital letters with lower letters and prefixed with a hyphen if not in the beginning of the string.
return s.trim().replaceAll("(\\p{Ll})(\\p{Lu})", "$1 $2").replaceAll(" ", "-").toLowerCase();