Empty string: Difference between revisions

Added DWScript
(Added Bracmat)
(Added DWScript)
Line 160:
Writeln(StringIsEmpty(s)); // False
end.</lang>
 
=={{header|DWScript}}==
<lang delphi>var s : String;
 
s := ''; // assign an empty string (can also use "")
 
if s = '' then
PrintLn('empty');
 
s := 'hello';
 
if s <> '' then
PrintLn('not empty');</lang>
 
=={{header|Euphoria}}==
Anonymous user