1. Tech

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.
http://ruby.about.com/od/rubyfeatures/ss/strings.htm
Understanding 'String Literals' - Ruby - About.com
Most languages don't allow multi-line string literals, but Ruby does. There's no need to end your strings and append more strings for the next line, Ruby handles  ...
http://ruby.about.com/od/strings/a/String-Literals_2.htm
Partitioning Strings - Ruby - About.com
When processing strings in Ruby, you probably reach for the 'split' method most often. However, there are other options.
http://ruby.about.com/od/strings/ss/Partitioning-Strings.htm
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 ...
http://ruby.about.com/od/advancedruby/a/gsub.htm
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, ...
http://ruby.about.com/od/rubyfeatures/ss/strings_4.htm
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.
http://ruby.about.com/od/strings/a/Splitting-Strings.htm
What's new in Ruby 2.1.0: Strings - About.com
Frozen Strings. 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  ...
http://ruby.about.com/od/Whats-New-in-Ruby-210/fl/Whats-new-in-Ruby-210-Strings.htm
CSV Example: Format Strings and Printing the ... - Ruby - About.com
This part might need some explanation, as format strings aren't often used in Ruby. Format strings are going to be more familiar to C or perhaps Python ...
http://ruby.about.com/od/examples/a/Csv-Example-Format-Strings-And-Printing-The-Ascii-Table.htm
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 ...
http://ruby.about.com/od/advancedruby/a/split.htm
Substrings - Ruby - About.com
String manipulation calls for the ability to read or change parts of a String variable , not all of it. Ruby accomplishes this with the String's index operator and a ...
http://ruby.about.com/od/rubyfeatures/ss/strings_3.htm
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2014 About.com. All rights reserved.