|
Nilay Tripathi wrote:
And why 'nil'? You must use nil without quotes. Moreover, nil is false-value, so you can simply write:if string.find(s,".")~='nil' then
"if someexpr then ..." instead of "if someexpr ~= nil then ..." But not in the cases when someexpr may evaluate to false. AMDG, Antero Vipunen.