1. Computing

Using Strings

By

Strings are ordered sequences of characters. More simply, strings are variables that can store text. Any communication with users will almost certainly be done by using strings, either as they are displayed on a terminal or in a GUI application. For example, if your program requires a user to input his name, the sequence of characters that make up his name are a string and are stored as a variable. Next to numbers, the String is one of the most important and widely used type in Ruby.

  1. About.com
  2. Computing
  3. Ruby
  4. Beginning Ruby
  5. Using Strings and Substrings in Ruby

©2014 About.com. All rights reserved.