Dealing with multiple possible indexOf()
Ok, let's say you have a string: "(hello) (world) (something) (number 4)"
And in javascript, you wanted to get the contents between the brackets in
chronological order. You can use indexOf() but how can you deal with
multiple possibility.
No comments:
Post a Comment