Empty string: Difference between revisions
m
→{{header|Sidef}}: added three examples using the smart-match operator (~~)
m (→{{header|Sidef}}: added three examples using the smart-match operator (~~)) |
|||
Line 1,075:
s.length == 0;
s.is_empty;
s ~~ /A\z/;
/\A\z/.match(s)??;</lang>
Line 1,081 ⟶ 1,082:
s.length?;
s.length > 0;
s ~~ /./s;
s !~ /^\z/;
/./s.match(s)??;</lang>
|