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
delete « String « Ruby
Ruby
String
delete
1.
With delete or delete!, you can delete characters from a string
2.
Get rid of that extra l in alll:
3.
use two ls instead of one for delete method
4.
negate all or part of an argument with the caret (^), similar to its use in regular expressions
5.
When there is more than one argument, take the intersection.