Empty string: Difference between revisions
Content added Content deleted
(add link to Delphi for pascal) |
|||
Line 357: | Line 357: | ||
(if String ..) |
(if String ..) |
||
(when String ..)</lang> |
(when String ..)</lang> |
||
=={{header|PL/I}}== |
|||
<lang PL/I> |
|||
s = ''; /* assign an empty string to a variable. */ |
|||
if length(s) = 0 then ... /* To test whether a string is empty */ |
|||
if length(s) > 0 then ... /* to test for a non-empty string */ |
|||
</lang> |
|||
=={{header|PureBasic}}== |
=={{header|PureBasic}}== |