Java Tutorial Java String Format
Abbreviate
Format
- Center a String using a supplied character as the value to pad the String with in Java
- Display at most 15 characters in a string in Java
- Format strings into table, control the width and alignment in Java
Case
- Make the first letter caps and the rest lowercase in Java
- Transform words to singular, plural, humanized (human readable), underscore, camel case, or ordinal form in Java
- Uncapitalize a String by changing the first letter to title case as per Character.toLowerCase(char) in Java
- Uppercase the first character in a string in Java
- Capitalize each word in a sentence with loop in Java
- Capitalize each word in a sentence with recursive function in Java
- Capitalize the first character of the given string in Java
- Capital and uncapital strings in Java
Padding
- Left pad a string in Java
- Left pad a String with characters or string in Java
- Right pad a string in Java
- Right pad a String with a specified character or string in Java
- Right pad a String with spaces (' ') in Java
Quote
- Put quotes around the given String if necessary in Java
- Quote a string so that it can be used as an identifier or a string literal in SQL statements in Java
Remove
- Strip Line Breaks for a string in Java
- Removes specified chars from a string in Java
- Remove a character from a string in Java
- Remove/collapse multiple newline characters in Java
- Remove leading and trailing space from String in Java
- Remove newline, carriage return and tab characters from a string in Java
- Remove the leading and trailing quotes from str in Java
Repeat
Trim
Home »
Java Tutorial »
Java Data Type »
Java Tutorial »
Java Data Type »