<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/substr</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 11:45:26 GMT</pubDate>
<item>
<title>(PHP) Substring between two strings - dmertl</title>
<link>http://snipplr.com/view/67576/substring-between-two-strings/</link>
<description><![CDATA[ <p>Get the substring between two strings</p> ]]></description>
<pubDate>Wed, 03 Oct 2012 12:26:03 GMT</pubDate>
<guid>http://snipplr.com/view/67576/substring-between-two-strings/</guid>
</item>
<item>
<title>(PHP) cut string without partial words (unicode version with mb_substr) - shin</title>
<link>http://snipplr.com/view/67430/cut-string-without-partial-words-unicode-version-with-mbsubstr/</link>
<description><![CDATA[ <p>cut string without partial words (unicode version with mb_substr). for this snippet: http://snipplr.com/view/67385/show-subcategories-with-picture-and-description/</p> ]]></description>
<pubDate>Sat, 29 Sep 2012 22:38:54 GMT</pubDate>
<guid>http://snipplr.com/view/67430/cut-string-without-partial-words-unicode-version-with-mbsubstr/</guid>
</item>
<item>
<title>(JavaScript) substr (works with negative length values) - jatkins</title>
<link>http://snipplr.com/view/56951/substr-works-with-negative-length-values/</link>
<description><![CDATA[ <p>Released into the public domain.</p> ]]></description>
<pubDate>Thu, 21 Jul 2011 06:33:13 GMT</pubDate>
<guid>http://snipplr.com/view/56951/substr-works-with-negative-length-values/</guid>
</item>
<item>
<title>(PHP) Sub-string function based on words - finalwebsites</title>
<link>http://snipplr.com/view/52723/substring-function-based-on-words/</link>
<description><![CDATA[ <p>I need often for dynamic websites a text snippet with an extact text length. Using the PHP function substr() is a solution, but makes the last word unreadable. This tiny function takes care about the max. string length characters,  keeps the last word intact and will add a custom string to the end. This string can be some dots or maybe the link to the whole text.</p> ]]></description>
<pubDate>Thu, 28 Apr 2011 15:57:50 GMT</pubDate>
<guid>http://snipplr.com/view/52723/substring-function-based-on-words/</guid>
</item>
<item>
<title>(PHP) Random Unique ID Hash Generator - sagz</title>
<link>http://snipplr.com/view/49708/random-unique-id-hash-generator/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 26 Feb 2011 04:00:43 GMT</pubDate>
<guid>http://snipplr.com/view/49708/random-unique-id-hash-generator/</guid>
</item>
<item>
<title>(PHP) PHP substr - bodito</title>
<link>http://snipplr.com/view/46568/php-substr/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 06 Jan 2011 02:21:19 GMT</pubDate>
<guid>http://snipplr.com/view/46568/php-substr/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Format a UK Mobile Number (XXXXX XXXXXX) - adrianparr</title>
<link>http://snipplr.com/view/34024/as3-format-a-uk-mobile-number-xxxxx-xxxxxx/</link>
<description><![CDATA[ <p>This returns a string with a single space after the fifth character.
Useful for displaying a UK mobile number which is easy to read.</p> ]]></description>
<pubDate>Fri, 07 May 2010 11:15:23 GMT</pubDate>
<guid>http://snipplr.com/view/34024/as3-format-a-uk-mobile-number-xxxxx-xxxxxx/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Capitalise the First Letter of a String - adrianparr</title>
<link>http://snipplr.com/view/33586/as3-capitalise-the-first-letter-of-a-string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 29 Apr 2010 09:08:52 GMT</pubDate>
<guid>http://snipplr.com/view/33586/as3-capitalise-the-first-letter-of-a-string/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Get the Last Char in a String - adrianparr</title>
<link>http://snipplr.com/view/29891/as3-get-the-last-char-in-a-string/</link>
<description><![CDATA[ <p>Returns the last character is a string.</p> ]]></description>
<pubDate>Wed, 17 Mar 2010 10:35:19 GMT</pubDate>
<guid>http://snipplr.com/view/29891/as3-get-the-last-char-in-a-string/</guid>
</item>
<item>
<title>(ActionScript) AS2 Remove HTML Tags from Text - adrianparr</title>
<link>http://snipplr.com/view/28329/as2-remove-html-tags-from-text/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 15 Feb 2010 08:31:09 GMT</pubDate>
<guid>http://snipplr.com/view/28329/as2-remove-html-tags-from-text/</guid>
</item>
<item>
<title>(PHP) PHP : highlight keywords in a text - giak</title>
<link>http://snipplr.com/view/26445/php--highlight-keywords-in-a-text/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 14 Jan 2010 06:38:55 GMT</pubDate>
<guid>http://snipplr.com/view/26445/php--highlight-keywords-in-a-text/</guid>
</item>
<item>
<title>(PHP) PHP : Transform a date in french - giak</title>
<link>http://snipplr.com/view/26352/php--transform-a-date-in-french/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Jan 2010 01:35:36 GMT</pubDate>
<guid>http://snipplr.com/view/26352/php--transform-a-date-in-french/</guid>
</item>
<item>
<title>(PHP) mySubstr - xzkcz</title>
<link>http://snipplr.com/view/16616/mysubstr/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 03 Jul 2009 06:23:55 GMT</pubDate>
<guid>http://snipplr.com/view/16616/mysubstr/</guid>
</item>
<item>
<title>(PHP) Shorten text without braking words - melvitax</title>
<link>http://snipplr.com/view/5260/shorten-text-without-braking-words/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 03 Mar 2008 12:21:55 GMT</pubDate>
<guid>http://snipplr.com/view/5260/shorten-text-without-braking-words/</guid>
</item>
<item>
<title>(PHP) PHP 文字を切り出す - daisuke103</title>
<link>http://snipplr.com/view/5027/php-/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 12 Feb 2008 23:35:44 GMT</pubDate>
<guid>http://snipplr.com/view/5027/php-/</guid>
</item>
<item>
<title>(PHP) Limit string with/without relating words and from start/end - bioascii</title>
<link>http://snipplr.com/view/4600/limit-string-withwithout-relating-words-and-from-startend/</link>
<description><![CDATA[ <p>This function allows you to limit the amount of a string, like a sample from a post.
Create a file like function_lmt_txt.php and include it to use it.
Any comments to improve this are welcomed.</p> ]]></description>
<pubDate>Tue, 15 Jan 2008 11:24:18 GMT</pubDate>
<guid>http://snipplr.com/view/4600/limit-string-withwithout-relating-words-and-from-startend/</guid>
</item>
<item>
<title>(PHP) strMiddleReduceWordSensitive - luman</title>
<link>http://snipplr.com/view/995/strmiddlereducewordsensitive/</link>
<description><![CDATA[ <p>If you want to substring the middle of a string with another and keep the words intact:</p> ]]></description>
<pubDate>Fri, 01 Sep 2006 00:14:46 GMT</pubDate>
<guid>http://snipplr.com/view/995/strmiddlereducewordsensitive/</guid>
</item>
<item>
<title>(PHP) Sub Sentence - neogeek</title>
<link>http://snipplr.com/view/140/sub-sentence/</link>
<description><![CDATA[ <p>Similar to substr(), only this doesn't chop up words and adds a notification if the string has been shortened.</p> ]]></description>
<pubDate>Fri, 30 Jun 2006 10:25:21 GMT</pubDate>
<guid>http://snipplr.com/view/140/sub-sentence/</guid>
</item>
</channel>
</rss>