/ Published in: JavaScript
Trim whitespace at the end of a line
Expand |
Embed | Plain Text
trimTrailingWhiteSpace : function ( myString ) { return myString.replace(/\s*$/, ''); }
You need to login to post a comment.
