Check String for Word

Posted by Marcel on Stack Overflow See other posts from Stack Overflow or by Marcel
Published on 2010-03-27T01:07:34Z Indexed on 2010/03/27 1:13 UTC
Read the original article Hit count: 293

Filed under:

Hi,

how would I check a string, for exaample: "carinabottlenice" for the word "bottle"

if (carinabottlenice contains bottle) {} ...

thx

© Stack Overflow or respective owner

Related posts about JavaScript