Class StringFormatter
java.lang.Object
fr.multimc.api.commons.tools.formatters.StringFormatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
capitalize
(String string) Capitalize each word of a sentence.static String
initialCapitalize
(String string) Capitalize each sentence of a string (initial char to upper).static String
static String
static String
-
Constructor Details
-
StringFormatter
public StringFormatter()
-
-
Method Details
-
capitalize
Capitalize each word of a sentence.- Parameters:
string
- : String to capitalize.- Returns:
- String capitalized.
-
initialCapitalize
Capitalize each sentence of a string (initial char to upper).- Parameters:
string
- : String to capitalize.- Returns:
- String capitalized.
-
reduce
-
reduce
-
reduce
-