Articles related to ruby strings
'String Literals' in 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
Strings may be user-supplied, so there's no guarantee they'll follow a specific format. Also, later changes in the string may change the length of the string, ...
Splitting Strings in Ruby - the String#split Method - About.com
Unless user input is a single word or number, that input will need to be split, or turned into a list of strings or numbers.
Iterating Over Strings - Ruby - About.com
Start with Ruby 1.9.1 and with all versions after, strings are by default Unicode. Unicode is a complex topic, but all you really need to know is that not all ...
Indexing Strings - Ruby - About.com
When strings are used for output, they're often viewed as single immutable blocks ... The way string indexing is handled in Ruby 1.9.x has changed, so if you're ...
Partitioning Strings - Ruby - About.com
When processing strings in Ruby, you probably reach for the 'split' method most often. However, there are other options.
What's new in Ruby 2.1.0: Strings - About.com
This article is part of a series. To read more, see What's new in Ruby 2.1?. Strings . You cannot avoid them. Every program uses strings of some kind. There are a ...
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.
Getting and Printing Strings - Ruby - About.com
Aug 17, 2011 ... How to read and print strings in Ruby. ... Printing strings to the terminal and reading strings from keyboard input. While this might not be all that ...
Using the 'Split' Method in Ruby - About.com
As you may already know, strings in Ruby are what are known as first class objects which use a number of methods for queries and manipulation. (If you don' t ...