nope you dont need the quotes
say you have 2 variables name1 and name2
example: s = s.replaceAll(name1, name2);
Type: Posts; User: derekxec
nope you dont need the quotes
say you have 2 variables name1 and name2
example: s = s.replaceAll(name1, name2);
thats correct i printed both just to show that it changed the name..ah yes the s = s.replaceAll("Jenn", "Kim");
works outside the println you are correct :D
also if you are getting the names from...
i couldn't figure out how to get it to work like you said but you could do it like this...I'm also not sure how you are getting the name (from a console input maybe?)
String s;
s =...