how to split string in java after eevery character code example Example: javascript remove first character from string var newStr = str.substring(1);