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
Is a string empty : empty « String « Ruby
Ruby
String
empty
Is a string empty
string =
'My first string'
# =>
"My first string"
string.empty? # => false
Related examples in the same category