I’m working with a performance issue on JavaScript. So I just want to ask: what is the fastest way to check whether a string contains another substring (I just need the boolean value)? Could you please suggest your idea and sample snippet code?

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *