Empty string: Difference between revisions
Content added Content deleted
(Empty string en Asymptote) |
|||
Line 1,067: | Line 1,067: | ||
<lang dyalect>if !str { } |
<lang dyalect>if !str { } |
||
//or |
//or |
||
if str. |
if str.IsEmpty() { }</lang> |
||
Demonstrate how to check that a string is not empty: |
Demonstrate how to check that a string is not empty: |
||
Line 1,073: | Line 1,073: | ||
<lang dyalect>if str { } |
<lang dyalect>if str { } |
||
//or |
//or |
||
if !str. |
if !str.IsEmpty() { }</lang> |
||
=={{header|Déjà Vu}}== |
=={{header|Déjà Vu}}== |