lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> if a string is empty, i.e "" can I compare it with nil?

You can compare an empty string with nil; the result will be false.

print(""==nil)