What I would like to accomplish is too strip the last certain number of characters from the end of a string in javascript. Lets say I had a string with 'testing this out' and I wanted to strip the last 5 characters from it. How do I do it?
Subscribe to:
Post Comments (Atom)
c++ - Does curly brackets matter for empty constructor?
Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...
-
In K-PAX , there are two possible explanations: Prot is crazy. He is truly an alien. There are facts that indicate 1, but also 2. Examples: ...
-
I found this excellent tutorial on regular expressions and while I intuitively understand what "greedy", "reluctant" an...
-
Why this works? I mean, accessing the private variable. class Test { private $q = 0; public function __construct() { $this-...
No comments:
Post a Comment