Articles related to ruby strings
Using Strings and Substrings in Ruby - About.com
Any communication with users will almost certainly be done by using strings, either as ... the String is one of the most important and widely used type in Ruby.
String Literals - Ruby - About.com
Strings are most often created with a String literal. A literal is a special syntax in the Ruby language that creates an object of a specific type. For example, 23 is a ...
Split and Join - Using Strings in Ruby - About.com
Using the index operator is ideal when you know the location of the portion of the string you want to change. However, it's rare that you'll know the location, ...
Partitioning Strings - Ruby - About.com
When processing strings in Ruby, you probably reach for the 'split' method most often. However, there are other options.
String Substitution in Ruby - About.com
Splitting a string is only one way to manipulate string data. ... Remember, methods in Ruby that end in an exclamation point alter the variable in place, instead of ...
Splitting Strings in Ruby - the String#split Method - About.com
This delimiter will be removed from the output and an array of strings split on the ... Ruby is not real big on "special variables" that you might find in languages ...
What's new in Ruby 2.1.0: Strings - About.com
Strings are a big issue in Ruby when it comes to performance. Every time you declare a Ruby string, a new object is created and the string data copied into it.
String Quick Reference - Ruby - About.com
Strings are perhaps the most used class in Ruby. And with over 100 methods in the String class alone, it can be a bit daunting. Intimidating, even. This article will ...
Indexing Strings - Ruby - About.com
However, before reading this article, you'll need to know your Ruby version. The way string indexing is handled in Ruby 1.9.x has changed, so if you're using ...
Iterating Over Strings - Ruby - About.com
It's not a very common thing in Ruby. You have more sophisticated string tools ( such as split or scan), but there are times when you'd want to iterate over the ...