Below are revisions for this snippet.

rtrim, ltrim, and trim methods for String





Syndication

Revision Revison 1
Rather than have standalone functions rtrim, ltrim, and trim (as in http://www.bytemycode.com/snippets/snippet/397/) why not have them as methods of all string objects?