Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Menu
string variable « String « Ruby
Ruby
String
string variable
1.
A string is a sequence of letters, numbers, and other characters.
2.
Assign strings to variables:
3.
create a string is with Kernel's String method:
4.
String reference