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
String format « String « Ruby
Ruby
String
String format
1.
use % for format printing
2.
Substituting Variables Into an Existing String
3.
Replace string with float
4.
Changing the Case of a String
5.
Center, left justify and right justify string