1 Object
.extend(String
.prototype, {
3 return this.toUpperCase();
7 return this.toLowerCase();
10 toInteger: function() {
11 return parseInt(this);
15 return this.strip().downcase().replace(/[^-a-z0-9~\s\.:;+=_]/g, '').replace(/[\s\.:;=+]+/g, '-');