Java Tutorial Java String Format

Abbreviate

  1. Abbreviate a String using ellipses in both sides in Java
  2. Abbreviate string in Java

Format

  1. Center a String using a supplied character as the value to pad the String with in Java
  2. Display at most 15 characters in a string in Java
  3. Format strings into table, control the width and alignment in Java

Case

  1. Make the first letter caps and the rest lowercase in Java
  2. Transform words to singular, plural, humanized (human readable), underscore, camel case, or ordinal form in Java
  3. Uncapitalize a String by changing the first letter to title case as per Character.toLowerCase(char) in Java
  4. Uppercase the first character in a string in Java
  5. Capitalize each word in a sentence with loop in Java
  6. Capitalize each word in a sentence with recursive function in Java
  7. Capitalize the first character of the given string in Java
  8. Capital and uncapital strings in Java

Padding

  1. Left pad a string in Java
  2. Left pad a String with characters or string in Java
  3. Right pad a string in Java
  4. Right pad a String with a specified character or string in Java
  5. Right pad a String with spaces (' ') in Java

Quote

  1. Put quotes around the given String if necessary in Java
  2. Quote a string so that it can be used as an identifier or a string literal in SQL statements in Java

Remove

  1. Strip Line Breaks for a string in Java
  2. Removes specified chars from a string in Java
  3. Remove a character from a string in Java
  4. Remove/collapse multiple newline characters in Java
  5. Remove leading and trailing space from String in Java
  6. Remove newline, carriage return and tab characters from a string in Java
  7. Remove the leading and trailing quotes from str in Java

Repeat

  1. Repeat a char in Java

Trim

  1. Trim any of the characters in Java
  2. Trim off trailing blanks but not leading blanks in Java




















Home »
  Java Tutorial »
    Java Data Type »




Java Boolean
Java Byte
Java Character
Java Currency
Java Double
Java Enum
Java Float
Java Integer
Java Long
Java Short
Java Auto Grow Array
Java Array Compare
Java Array Convert
Java Array Copy Clone
Java Array Fill
Java Array Search and Sort
Java String Convert
Java String File
Java String Format
Java String Operation
Java BigDecimal
Java BigInteger