Empty string: Difference between revisions
→{{header|PL/I}}: add (necessary) declaration
No edit summary |
Walterpachl (talk | contribs) (→{{header|PL/I}}: add (necessary) declaration) |
||
Line 684:
=={{header|PL/I}}==
<lang PL/I>Dcl s Char(10) Varying;
s = ''; /* assign an empty string to a variable. */
if length(s) = 0 then ... /* To test whether a string is empty */
|