Compare Page Revisions
« Older Revision - Back to Page History - Newer Revision »
num.toFixed(x)
x
s.charAt()
s.charCodeAt()
s.concat()
s.fromCharCode()
s.indexOf()
s.lastIndexOf()
s.match()
s.replace()
s.search()
s.slice()
s.split()
s.substr()
s.substring()
s.toLowerCase()
s.toUpperCase()
s.valueOf()
String.prototype.startsWith = function(prefix, caseSensitive) { if (caseSensitive == undefined) caseSensitive = true; if (caseSensitive) return (this.substr(0, prefix.length) == prefix); else return(this.substr(0, prefix.length).toUpperCase() == prefix.toUpperCase()); } String.prototype.contains = function stringContains(searchFor, caseSensitive){ if (caseSensitive == undefined) caseSensitive = true; if (caseSensitive) return (this.indexOf(searchFor) >= 0); else return (this.toUpperCase().indexOf(searchFor.toUpperCase()) >= 0); }
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.