<?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/language/ruby/tags/text</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 15:14:54 GMT</pubDate>
<item>
<title>(Ruby) Find words adjacent to a word given by its index in a string - jatkins</title>
<link>http://snipplr.com/view/45135/find-words-adjacent-to-a-word-given-by-its-index-in-a-string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 02 Dec 2010 08:52:55 GMT</pubDate>
<guid>http://snipplr.com/view/45135/find-words-adjacent-to-a-word-given-by-its-index-in-a-string/</guid>
</item>
<item>
<title>(Ruby) Strip characters from between two delimiters - webonomic</title>
<link>http://snipplr.com/view/42947/strip-characters-from-between-two-delimiters/</link>
<description><![CDATA[ <p>This regular expression used in Ruby will extract the characters between single or multi-character delimiters.  It helps when you have strange delimiters such as \":delimeter1: text I want to grab goes here :delimiter2:\"</p> ]]></description>
<pubDate>Tue, 26 Oct 2010 04:00:58 GMT</pubDate>
<guid>http://snipplr.com/view/42947/strip-characters-from-between-two-delimiters/</guid>
</item>
<item>
<title>(Ruby) Howto set up a Rake task to run Cucumber features and generate reports - noah</title>
<link>http://snipplr.com/view/27990/howto-set-up-a-rake-task-to-run-cucumber-features-and-generate-reports/</link>
<description><![CDATA[ <p>Note that Rake is slower than just running `cucumber`</p> ]]></description>
<pubDate>Mon, 08 Feb 2010 22:41:45 GMT</pubDate>
<guid>http://snipplr.com/view/27990/howto-set-up-a-rake-task-to-run-cucumber-features-and-generate-reports/</guid>
</item>
<item>
<title>(Ruby) Text Wrapping with Regular Expressions - breakerjump</title>
<link>http://snipplr.com/view/6271/text-wrapping-with-regular-expressions/</link>
<description><![CDATA[ <p>Hat tip: Allan Odgaard</p> ]]></description>
<pubDate>Fri, 16 May 2008 17:12:51 GMT</pubDate>
<guid>http://snipplr.com/view/6271/text-wrapping-with-regular-expressions/</guid>
</item>
<item>
<title>(Ruby) Parse an XML document with REXML and print some of the text nodes - noah</title>
<link>http://snipplr.com/view/5546/parse-an-xml-document-with-rexml-and-print-some-of-the-text-nodes/</link>
<description><![CDATA[ <p>Parses the XML file MY_FILE.xml, and prints the text from each record node's upload_list node, unless the upload_list node is empty.</p> ]]></description>
<pubDate>Mon, 24 Mar 2008 16:50:22 GMT</pubDate>
<guid>http://snipplr.com/view/5546/parse-an-xml-document-with-rexml-and-print-some-of-the-text-nodes/</guid>
</item>
<item>
<title>(Ruby) Format strings like PRINT USING - Agent</title>
<link>http://snipplr.com/view/3408/format-strings-like-print-using/</link>
<description><![CDATA[ <p>This is an extension to Ruby's String class. Just put this code in a file and include it. This basically takes a string and adds literals and padding to it. For example, you can format a phone number with optional area code like this:

    "5445556747".using('(###) ###-####', '', true)
       => (544) 555-6747</p> ]]></description>
<pubDate>Sat, 28 Jul 2007 11:38:54 GMT</pubDate>
<guid>http://snipplr.com/view/3408/format-strings-like-print-using/</guid>
</item>
<item>
<title>(Ruby) Wrap Text - ttscoff</title>
<link>http://snipplr.com/view/1081/wrap-text/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 16 Sep 2006 00:50:37 GMT</pubDate>
<guid>http://snipplr.com/view/1081/wrap-text/</guid>
</item>
<item>
<title>(Ruby) Random ASCII characters generator - ishikawa</title>
<link>http://snipplr.com/view/307/random-ascii-characters-generator/</link>
<description><![CDATA[ <p>This method generates random (and printable) ascii characters.</p> ]]></description>
<pubDate>Sun, 09 Jul 2006 10:44:02 GMT</pubDate>
<guid>http://snipplr.com/view/307/random-ascii-characters-generator/</guid>
</item>
</channel>
</rss>