Sep 10, 2001 #1 dnguyen Programmer Apr 16, 2001 11 AU Hi All, Is there any method to drop any trailing spaces before or after a STRING. That is, of course, the .equals() attribute for strings already does this?. Cheers.
Hi All, Is there any method to drop any trailing spaces before or after a STRING. That is, of course, the .equals() attribute for strings already does this?. Cheers.
Sep 10, 2001 #2 wushutwist Programmer Aug 3, 2000 984 US trim() method in the String class does exactly this. No, equals() does not do this. Wushutwist Upvote 0 Downvote
Sep 10, 2001 Thread starter #3 dnguyen Programmer Apr 16, 2001 11 AU Thanks Wushutwist, that did the trick. Cheers. Upvote 0 Downvote