lua-users home
lua-l archive

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


On Tue, Sep 27, 2011 at 4:59 PM, Dirk Laurie <dpl@sun.ac.za> wrote:
>> You don't need nLineLength. Try
>>       if string.sub(line, -3) ~= "<BR>" then
>>
> And if that does not work,
>
>    if string.sub(line,-4):upper() ~= "<BR>" then

Works like a charm, thanks a lot! :-)

Daniel