<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'classic ASP instr for PHP'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sat, 18 Apr 2026 12:57:19 +0000</lastBuildDate>
    <item>
      <title>leond said on 14/Jul/2010</title>
      <link>https://snipplr.com/view/37227/classic-asp-instr-for-php</link>
      <description>&lt;p&gt;I think you can use PHP function strstr or stristr (cap. insensitive)&lt;/p&gt;</description>
      <pubDate>Wed, 14 Jul 2010 23:44:53 UTC</pubDate>
      <guid>https://snipplr.com/view/37227/classic-asp-instr-for-php</guid>
    </item>
    <item>
      <title>seloh77 said on 22/Jul/2010</title>
      <link>https://snipplr.com/view/37227/classic-asp-instr-for-php</link>
      <description>&lt;p&gt;strstr or stristr both return a string if the needle is in the haystack else they return false&#13;
I quickly want to see if a needle is in a haystack with:&#13;
   if (instr($haystack, $needle)&gt;0) { DO SOMETHING }&lt;/p&gt;</description>
      <pubDate>Thu, 22 Jul 2010 00:44:10 UTC</pubDate>
      <guid>https://snipplr.com/view/37227/classic-asp-instr-for-php</guid>
    </item>
  </channel>
</rss>
