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