s="p">(</span><span class="n">input</span><span class="p">,</span> <span class="sc">','</span><span class="p">);</span>

    <span class="k">for</span> <span class="p">(</span><span class="n">string</span> <span class="n">name</span><span class="o">:</span> <span class="n">names</span><span class="p">)</span> <span class="p">{</span>
        <span class="c1">// convert to lowercase so we can easily compare the strings</span>
        <span class="k">if</span> <span class="p">(</span><span class="n">endsWith<