split a string into array where a , jaca code example Example: split string into array java String[] array = values.split("\\|", -1);