substring and substr
-
Whoever decided these both needed to be in Javascript deserves a slapping.
cheers Chris Maunder
Do they not have a
mid
? Someone needs to get on that. -
Not to mention slice...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
And Splice. And Push, Pop, Shift, Unshift. Also the context of the value "this".:mad: Also numbers as floats.:mad::mad::mad: Been teaching JS recently and might be getting jaded by the feature-ridden design....
KeithBarrow.net[^] - It might not be very good, but at least it is free!
-
Do they not have a
mid
? Someone needs to get on that.String.prototype.mid = function(index1, indexb) { this.slice(index1, indexb); }
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
-
Whoever decided these both needed to be in Javascript deserves a slapping.
cheers Chris Maunder
Chris Maunder wrote:
Javascript deserves a slapping.
There. That's all that needs to be said. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
Whoever decided these both needed to be in Javascript deserves a slapping.
cheers Chris Maunder
-
Whoever decided these both needed to be in Javascript deserves a slapping.
cheers Chris Maunder
Still relevant[^] after all this time.
-
Whoever decided these both needed to be in Javascript deserves a slapping.
cheers Chris Maunder
Chris Maunder wrote:
Whoever decided these both needed to be in Javascript deserves a slapping.
FTFY
-
Still relevant[^] after all this time.
I kinda expected the book to be empty :laugh:
-
Whoever decided these both needed to be in Javascript deserves a slapping.
cheers Chris Maunder
Chris Maunder wrote:
Whoever decided ... deserves a slapping.
Ooh, don't say that! Our formerly resident tory politician would be back in a flash to claim guilt!
I wanna be a eunuchs developer! Pass me a bread knife!
-
Do they not have a
mid
? Someone needs to get on that.Or the lack of a trim() function.