s="r-out co"><span class="r-pr">#&gt;</span> [1] FALSE</span>
<span class="r-in"><span>  <span class="fu">hasFileSuffix</span><span class="op">(</span><span class="st">"fo"</span>, <span class="st">".doc"</span><span class="op">)</span>        <span class="co"># FALSE</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] FALSE</span>
<span class="r-in"><span>  <span class="fu">hasFileSuffix</span><span class="op">(</span><span class="st">""</span>, <span class="st">".doc"</span>