Java java.lang String

    Case

    1. Java String capitalize
    2. Java String capitalize all words in a string
    3. Java String camel case
    4. Java String uncapitalize
    5. Java String lower case
    6. Java String swap case
    7. Java String upper case

    Compare

    1. Java String compare two String values and get index of difference


    Contain

    1. Java String contain a character
    2. Java String contain any character from a set of characters
    3. Java String contain only certain characters
    4. Java String contain HTML <img> tag
    5. Java String contain a substring
    6. Java String contain a substring ignoring case

    Convert

    1. Java String convert double type to String

    Count Matches

    1. Java String count substring matches


    2. Java String count line
    3. Java String count shared characters between two String values

    Encoding

    1. Java String change encoding
    2. Java String convert byte array to String using Latin-1/ISO-8859-1 encoding
    3. Java String convert byte array to Strings using UTF-8 encoding
    4. Java String convert from byte array by Charset
    5. Java String convert from ByteBuffer by Charset
    6. Java String convert from ByteBuffer by UTF-8
    7. Java String convert to a native C string.
    8. Java String convert to InputStream in UTF-8 encoding
    9. Java String get Chinese String length

    Format

    1. Java String abbreviate and show ...
    2. Java String abbreviate at word
    3. Java String abbreviate GBK String
    4. Java String abbreviate in middle
    5. Java String abbreviate and create acronym from sentence
    6. Java String align center
    7. Java String align left
    8. Java String align right
    9. Java String align right with filling character
    10. Java String align multiple line by separator
    11. Java String format char type
    12. Java String format double type
    13. Java String format float type
    14. Java String format float type by locale
    15. Java String format int type
    16. Java String mask
    17. Java String mask password

    Escape

    1. Java String escape for regex pattern
    2. Java String escape for XML
    3. Java String escape for XML element content
    4. Java String escape for XML single-quoted attributes
    5. Java String escape special characters & < > " for HTML document

    Index Of

    1. Java String index of any character in character set
    2. Java String index of any character not in character set
    3. Java String n-th index of a substring
    4. Java String index of matched char from start
    5. Java String index of matched char from end
    6. Java String index of any substring in an array

    Mask

    1. Java String mask left
    2. Java String mask right

    Match

    1. Java String match both upper case and lower case
    2. Java String match email
    3. Java String match exact String value
    4. Java String match html character reference
    5. Java String match one or the other
    6. Java String match only digit
    7. Java String match phone number
    8. Java String match single number in String
    9. Java String match six digits

    Pad

    1. Java String pad left
    2. Java String pad right

    Remove

    1. Java String remove char
    2. Java String remove HTML tags
    3. Java String remove substring
    4. Java String remove white spaces
    5. Java String remove white spaces from left
    6. Java String remove white spaces from right
    7. Java String remove control characters from start and end
    8. Java String remove start ignoring case
    9. Java String remove from both side
    10. Java String remove from end
    11. Java String remove from end ignoring case
    12. Java String remove from start
    13. Java String remove character set from start
    14. Java String remove character set from end
    15. Java String remove substring from start and end
    16. Java String retain characters(remove not in)

    Repeat

    1. Java String repeat a String for certain times to form a new String

    Replace

    1. Java String replace char
    2. Java String replace EOL with CRLF
    3. Java String replace once
    4. Java String replace character by character
    5. Java String replace Microsoft smart quotes curly " and '
    6. Java String replace multiple characters
    7. Java String replace substring by substring
    8. Java String replace whitespace unicode characters with ' '

    Reverse

    1. Java String reverse

    Similarity

    1. Java String calculate the Levenshtein Distance between two Strings

    Split

    1. Java String split String by a given delimiter
    2. Java String split String with camel case
    3. Java String split String by , comma
    4. Java String split String by . dot
    5. Java String split String by . dot and trim space
    6. Java String split String by \r\n new line
    7. Java String split String by \r\n new line and trim space
    8. Java String split String by digit
    9. Java String split String by letters
    10. Java String split String by multiple space/whitespace
    11. Java String split String by space/whitespace
    12. Java String split String by | pipe

    Substring

    1. Java String substring from left
    2. Java String substring from right
    3. Java String substring from middle
    4. Java String substring by marker
    5. Java String substring from negative index
    6. Java String substring for initial common from String list

    Start/End

    1. Java String match from end ignoring case
    2. Java String match from end
    3. Java String match from start ignoring Case
    4. Java String match from start

    Unicode

    1. Java String length for Chinese

    Value

    1. Java String with all ASCII upper case letters
    2. Java String with all unique characters
    3. Java String with all upper case characters
    4. Java String with Chinese word
    5. Java String with Chinese word only
    6. Java String with different characters
    7. Java String with double value number
    8. Java String with empty "" or null value
    9. Java String with Hebrew word
    10. Java String with not empty "" and not null value
    11. Java String with not empty "" not null and not whitespace
    12. Java String with only ASCII characters
    13. Java String with only ASCII digit
    14. Java String with only ASCII letter
    15. Java String with only ASCII letter and digit
    16. Java String with only digit by ASCII code
    17. Java String with only digit by regular expression
    18. Java String with only digits
    19. Java String with only digits or space ' '
    20. Java String with only letters
    21. Java String with only letters and space ' '
    22. Java String with only letters or digits
    23. Java String with only letters, digits or space ' '
    24. Java String with only lower case characters
    25. Java String with only number
    26. Java String with only whitespace
    27. Java String without certain characters