Is a string empty : empty « String « Ruby






Is a string empty


string = 'My first string'                   # => "My first string"

string.empty?                            # => false

 

Related examples in the same category