I use split in Java like this
String str = "Bx=1946^Cx=1043423"; String[] parts = str.split("^"); for (String part : parts) System.out.println(part); But it turns out there is only one element in parts array after splitting, so if I want to use "^" as delimiter, what should I write?
Thanks
StringUtilssplit methods over the standard java ones, especially seeing as they can use regular String delimiters without the potential added confusion of regex.