There are alot of useful prototype functions through-out this thread. It's well-worth the time to browse through them.
Feel free to add your own prototype functions to this thread.
However, make sure that you've tested your functions before you post them.
Also, do not post anything but prototype functions in this thread.
Post your non-prototype-functions here: Function Library
This code defines the functions replaceAt and multipulCopies
HTML Code:<SCRIPT TYPE="text/javascript"> String.prototype.replaceAt=function(){return this.substring(0,arguments[0])+arguments[1]+this.substring(arguments[0]+1,this.length)} String.prototype.multipulCopies=function(){var temp="";for(var i=0;i<arguments[0];i++){temp+=this}return temp} </SCRIPT>
Prototype-functions through-out this thread sorted chronologically: (1-50)(continued in next post from #51)
- #01String.prototype.replaceAt by Ultimater
- #02String.prototype.multipulCopies by Ultimater
- #03Array.prototype.search by Jona
- #04String.prototype.replaceAt (revised) by HaganeNoKokoro
- #05Array.prototype.firstElements by Ultimater
- #06Date.prototype.toMyLocalTime by Ultimater
- #07Array.prototype.mergeData by Ultimater
- #08Array.prototype.escape by Ultimater
- #09Array.prototype.unescape by Ultimater
- #10Array.prototype.mergeData (revised) by BigMoosie
- #11String.prototype.sub by BigMoosie
- #12Array.prototype.search (revised) by BigMoosie
- #13Function.prototype.time by tilspam@ofir.dk
- #14Array.prototype.removeElement by tilspam@ofir.dk
- #15Array.prototype.removeElement (revised) by scragar
- #16Array.prototype.removeElement (revised) by tilspam@ofir.dk
- #17Array.prototype.removeElement (revised) by BigMoosie
- #18String.prototype.pack by Ultimater
- #19Date.prototype.NumberOfDays by A1ien51
- #20Date.prototype.MonthName by A1ien51
- #21Date.prototype.DayName by A1ien51
- #22Date.prototype.FirstDayInt by A1ien51
- #23Date.prototype.FirstDayStr by A1ien51
- #24String.prototype.toWordCaps by BigMoosie
- #25String.prototype.toWordCaps (revised) by Jona
- #26String.prototype.toInverseCase by BigMoosie
- #27String.prototype.toInverseCase (revised) by Jona
- #28String.prototype.toInverseCase (revised) by BigMoosie
- #29Function.prototype.time (revised) by BigMoosie
- #30String.prototype.dex by BigMoosie
- #31String.prototype.indexAt by Ultimater
- #32Number.prototype.factorial by BigMoosie
- #33String.prototype.replaceAll by emblem
- #34String.prototype.reverse by BigMoosie
- #35Array.prototype.map by BigMoosie
- #36Number.prototype.factorise by BigMoosie
- #37Array.prototype.powerise by BigMoosie
- #38String.prototype.reverse (revised) by Ultimater
- #39Array.prototype.HCF by BigMoosie
- #40Date.prototype.defaultView by Ultimater
- #41Date.prototype.toMMDDYYYYString by Ultimater credits goto Charles
- #42String.prototype.dyslexia by BigMoosie
- #43String.prototype.toPigLatin by BigMoosie
- #44String.prototype.pad by HaganeNoKokoro
- #45String.prototype.toRainbow by HaganeNoKokoro
- #46String.prototype.toRainbow (revised) by BigMoosie
- #47String.prototype.toRainbow (revised) by HaganeNoKokoro
- #48String.prototype.pad (revised) by BigMoosie
- #49String.prototype.stripHTML by Ultimater
- #50Date.prototype.NumberOfDays (revised) by BigMoosie


Reply With Quote
Bookmarks