Website Home
HOME
Index
Data Type How to
Data Type How to
BigDecimal
BigInteger
boolean
byte
char
complex
Date
Date Adjust
Date Convert
Date Format
Date Parse
Date Time
Date Timezone
double
enum
float
integer
Legacy Date
Legacy Date Format
Legacy Date Time
long
number format
String
Java Data Type How to - Java String Example
« Previous
Java Add leading zeros to a number
Java Break Strings into chars that are in upper case
Java Change a hexadecimal number to its string equivalent
Java Copy String to Clipboard
Java Create all possible combination of words
Java Create a Random String
Java Create a sized image out of a string
Java Create Permutations of characters
Java Delete duplicate lines from a String
Java Divide a sentence into parts
Java Evaluate a boolean expression for String comparison?
Java Format a double value within the toString() method (with respect to the decimal)
Java Format a measurement into engineering units
Java Format double with zeros on left and right side
Java Generate a random alpha-numeric string
Java Get a random ordering of a list of unique Strings
Java Get Double number from string
Java Get each character from a String
Java Get How many times the first character appears in a string
Java Get Occurences of a letter in a phrase
Java Get occurrences of a char in a string
Java Get size of String w/ encoding in bytes
Java Get String from Clipboard
Java Get String length without using length() method
Java Get sub string from a string
Java Get the first word (pure alphabet word) from the String
Java Get the last word (pure alphabet word) from a String
Java Get the String length
Java Get word Frequency with Lambda
Java Handle continuous input by character
Java Hash object to textual strings
Java Insert special characters into a string
Java Print a Scanner string without vowels
Java Print a String in pyramid Form
Java Print words which occurs more than once from a string
Java Read console input until y is typed
Java Replace characters in every string in my list
Java Replace letters in a String
Java Rotate string
Java Save a multiline string to a text file without overwriting previous text
Java Search a specific letter
Java Set String delimiter in string.split method
Java Split a string containing question marks and equals
Java Split string to equal length substrings
Java Split String with delimiter and holding the values
Java Swtich on String
Java Take numbers from a string
Java Test a String for Palindrome
Java Turn String aaaabbbbddd into a4b4d3
Java Use a string as a command
Java Write a String to a text file
Capitalize
Java Capitalize a string
Java Capitalize First Char of Each Word in a String
Java Capitalize the first letter of each word in a string
Check
Java Checking if 2 strings contain the same characters
Java Check character occurrence in a string
Java Check containment in a Set of strings
Java Check if a message contains a string
Java Check if a String is a numeric type
Java Check if a String is balanced
Java Check if a string is empty
Java Check if a string is palindrome
Java Check if a string represent a float number
Java Check if enum contains a given string
Java Check if given string is a palindrome using stack
Java Check string to contain character that I didn't list
Java Read and check strings from user input in console
Compare
Java Compare non english characters with accents
Java Compare two strings of ints
Convert
Java Convert A Number To Hexadecimal
Java Convert Double to String value preserving every digit
Java Convert Java String to sql.Timestamp
Java Convert primitive data types to String
Java Convert String case
Java Convert string numbers into comma seperated integers
Java Convert String of length 1 to the associated int value of ASCII code (0-255)
Java Convert String to byte array by Encoding
Java Convert the DataInputStream to the String
Java Convert UTF-16BE string to byte for
Java Convert XX:XX AM/PM to 24 Hour Clock
Java Use String.format to convert a long to a String in currency format
Count
Java Count Chars in a String
Java Count frequency of characters in a string
Java Count number of 'x' letter words
Java Count specific characters in a string
Java Count String to HashMap
Java Count the number of occurences of characters in a string
Java Count word frequency
Java Find duplicate characters in a String and count the number of occurances
Java Find repeated words on a string and counting the repetitions
Password
Java Create a random password
Unicode
Java Create unicode from string "\u00C3" etc
Quote
Java Double quote and single quote
Encode
Java Encode and decode string Base64
Java Encode UTF String
Escape
Java Escape string as directory name
Extract
Java Extract digits of int
Java Extract Integer Part in String
Java Extract multiple integers from a String
Java Extract word from a sentence
Find
Java Find all uppercase letters of a string in java
Java Find how many times does a string object repeat
Java Find longest word in a sentence recursively
Java Find the most frequent character in a big string
Join
Java Join several Strings into a long string
Java Join String with StringJoiner
Match
Java Match an arbitrary String to month name
Java Match a String from Start and End
Parse
Java Parse string value into float where string contains comma
Java Parse Text using scanner useDelimiter
Remove
Java Remove duplicate strings from and ArrayList of Strings
Java Remove the last character from a string
Reverse
Java Reverse each word in a string without altering their position
Java Reverse String Word by Word
Search
Java Search a String
Java Search forwards from a given position in a String
Java Search Strings for Characters from String start
Java Search the last occurrence of 'a' in the String
Split
Java Split a String by a substring
Java Split String by | bar character
Java Tokenize String
Swap
Java Swap String characters
Java Swap String characters with for loop
« Previous