Empty string: Difference between revisions

Content deleted Content added
Stefan (talk | contribs)
m added comment how to check empty string explicitly
m →‎{{header|Ruby}}: Show that s.clear mutates the string.
Line 582:
<lang ruby>s = ""
s = String.new
s = "any string"; s.clear</lang>
 
These expressions all evaluate to true to determine emptiness: