Empty string: Difference between revisions

Content added Content deleted
(→‎{{header|Python}}: Extend comment)
Line 65: Line 65:


Thus it's not appropriate, in general case J code, to check that an empty string is of type string.
Thus it's not appropriate, in general case J code, to check that an empty string is of type string.

Note also that in an <code>if.</code> or <code>while.</code> statement, J treats an empty string as true.


=={{header|Java}}==
=={{header|Java}}==