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.
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
You are correct. It works now! Thanks.