what symbols for split java string code example Example: how to split string with dolor sign in java String line = ... String[] lineData = line.split("\\$");