I nee s llittle Search Help

I am trying to loop through an array to see if the array’s string start with the user’s input value, but sratsWith does not appear to be working. I do things in sections so this is the only section I am working on, Any suggestions? Thanks.

Hi,
I do my work in Notepad++ and the actual code in on line 22 when I make a call to alert(streamers.startsWith(searchTerm) ); Thanks,

Maybe you meant
alert(streamer.startsWith(searchTerm));
instead of
alert(streamers.startsWith(searchTerm));

Hi Kevonmedia,
You are correct. It works now! Thanks.