Is there a javascript equivalent to php's strtok function?
I was looking for a function in javascript that is an equivalent to php's strtok function and found this question/answers: javascript or jquery equivalent of PHP's strtok()? There are a lot of good splitting options, but none were an actual equivalent to strtok. I added my input here: https://stackoverflow.com/a/53163790/1934903 From the post: I don't know the exact equivalent to php's strtok function in javascript (I was searching for the same), but I noticed that all of the answers here missed a nuance of the strtok function and wanted to point it out. If all you're looking to do is break up
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.