<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 08:50:19 +0000</lastBuildDate>
    <item>
      <title>(PHP) Check if a string begins with another string - Vordreller</title>
      <link>https://snipplr.com/view/13214/check-if-a-string-begins-with-another-string</link>
      <description>&lt;p&gt;The counterpart of this snippet: [http://snipplr.com/view/13213/check-if-a-string-ends-with-another-string/][1]&#13;
&#13;
This one checks if a strings begins with another string. Again, third paramter is optional, if you don't set it, the comparison will be case-sensitive.&#13;
&#13;
&#13;
  [1]: http://snipplr.com/view/13213/check-if-a-string-ends-with-another-string/&lt;/p&gt;</description>
      <pubDate>Tue, 17 Mar 2009 23:07:07 UTC</pubDate>
      <guid>https://snipplr.com/view/13214/check-if-a-string-begins-with-another-string</guid>
    </item>
    <item>
      <title>(PHP) Check if a string ends with another string - Vordreller</title>
      <link>https://snipplr.com/view/13213/check-if-a-string-ends-with-another-string</link>
      <description>&lt;p&gt;This piece of code will enable you to check if a string ends with a certain string. Particularly handy when checking filetypes, like is something a jpg or not.&#13;
The third parameter is optional, if set to true, than the comparison will be case specific.&lt;/p&gt;</description>
      <pubDate>Tue, 17 Mar 2009 23:02:37 UTC</pubDate>
      <guid>https://snipplr.com/view/13213/check-if-a-string-ends-with-another-string</guid>
    </item>
  </channel>
</rss>
