Skip to content
Advertisement

Tag: special-characters

String.split() at a meta character +

I’m making a simple program that will deal with equations from a String input of the equation When I run it, however, I get an exception because of trying to replace the ” +” with a ” +” so i can split the string at the spaces. How should I go about using the string replaceAll method to replace these

Advertisement