Empty string: Difference between revisions
Content added Content deleted
m (→{{header|J}}) |
m (→{{header|J}}) |
||
Line 66: | Line 66: | ||
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. |
Note also that in an <code>if.</code> or <code>while.</code> statement, J treats an empty string (or the absence of any argument) as true. |
||
=={{header|Java}}== |
=={{header|Java}}== |