XML파싱하는 것까지는 성공했는데;;

파싱하고 String객체로 받고나서

trim(), replace(), replaceAll()을 실행시켜도

함수들이 다 작동이 안되네요;;


예를 들어 이렇게 실행시키면


strResult = "My name is Spiderman";

strResult.trim();

strResult.replaceAll("Spiderman", "Superman");


제가 원하는 결과는 "MynameisSuperman" 인데

아무런 함수도 적용이 안된 "My name is Spiderman"이 그래로

출력됩니다;; 왜 이럴까요?!ㅠㅠㅠ


고수님들 도와주세요!