1. Tech

Articles related to ruby strings

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
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
However, when strings are used as input, they're not usually taken at face value. ... However, before reading this article, you'll need to know your Ruby version.
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
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 few changes and tweaks you ...
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 ...
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 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.
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2014 About.com. All rights reserved.