Sha256: 85241b774b577c698768e43e668589a8288fd98fd3509136435229e03a1fffe1
Contents?: true
Size: 441 Bytes
Versions: 8
Compression:
Stored size: 441 Bytes
Contents
String.prototype.beginsWith = function (t, i) { if (i == false) { return (t == this.substring(0, t.length)); } else { return (t.toLowerCase() == this.substring(0, t.length).toLowerCase()); } }; String.prototype.endsWith = function (t, i) { if (i == false) { return (t == this.substring(this.length - t.length)); } else { return (t.toLowerCase() == this.substring(this.length - t.length).toLowerCase()); } };
Version data entries
8 entries across 8 versions & 1 rubygems