Changes

Jump to: navigation, search

Ruby String Replacement, Substitution and Insertion

41 bytes added, 16:33, 28 November 2007
Repeating Ruby Strings
== Repeating Ruby Strings ==
A string may be multiplied using the * method (not something I have ever needed to do myself, but the capability is there is if you need it):
<pre>
=> "Is that an echo? Is that an echo? Is that an echo? "
</pre>
 
== Inserting Text Into a Ruby String ==

Navigation menu