Forum Discussion
soda
13 years agoContributor
Thanks Alex,
I started out using indexOf, and then thinking I was going to need to use regular expressions, I switched to .search. I think you helped confirm that I can simply just go back to indexOf. I thought I had a scenario that would require regex, but, this solution should work. Thanks.
I started out using indexOf, and then thinking I was going to need to use regular expressions, I switched to .search. I think you helped confirm that I can simply just go back to indexOf. I thought I had a scenario that would require regex, but, this solution should work. Thanks.