Package javatapas.string
Class CapitalizeString
java.lang.Object
javatapas.string.CapitalizeString
public class CapitalizeString extends Object
Capitalize the value of Word or a Phrase.
Published at https://www.javatapas.com/string/Java-Capitalize-String.html
Javadoc at https://www.javatapas.com/docs/javatapas/string/CapitalizeString.html
Published at https://www.javatapas.com/string/Java-Capitalize-String.html
Javadoc at https://www.javatapas.com/docs/javatapas/string/CapitalizeString.html
- Version:
- 2021-05-01
- Author:
- Kodiak Brown
-
Constructor Summary
Constructors Constructor Description CapitalizeString()
-
Method Summary
Modifier and Type Method Description private static String
capitalizePhrase(String inStr)
static String
capitalizeString(String inStr)
private static String
capitalizeWord(String inStr)
-
Constructor Details
-
CapitalizeString
public CapitalizeString()
-
-
Method Details
-
capitalizeString
- Parameters:
inStr
- The word or phrase to be capitalized.
-
capitalizeWord
- Parameters:
inStr
- The single word to be capitalized.
-
capitalizePhrase
- Parameters:
inStr
- The phrase or multi-part word to be capitalized.
-