Is this somehow configuration dependent(like encoding or something) and only happens on my system?
No. It is the way it is.
There are some exceptions to 1 above. If the character contained is numerically zero, then despite having length, the string will conditionally test as false. This is the compromise of "typeless languages" that makes everything work.
And then there are (the celebrated) exceptions to the exception, like "0e0" (& "0e-0" & ... ) that the 'type safety' people hate, but that help make the world go around.
In reply to Re: String comparison "\x00" vs. "".
by BrowserUk
in thread String comparison "\x00" vs. "".
by asprillia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |