Ruby

Ruby, Classes, Mixin, Arrays, Functions

Ruby String Manipulation, Search and Replace

by: Matt Hofstetter | March 8 , 2011 | views: 336

Just like any other programming language, Ruby offers an extensive collection of string manipulation functions. This tutorial aims to demonstrate some of Ruby's basic string manipulation capabilities by showing several different ways of performing a search-and-replace. While some of these examples… view article