Sep 10, 2001 #1 dnguyen Programmer Joined Apr 16, 2001 Messages 11 Location 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 Joined Aug 3, 2000 Messages 984 Location 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 Joined Apr 16, 2001 Messages 11 Location AU Thanks Wushutwist, that did the trick. Cheers. Upvote 0 Downvote