lua-users home
lua-l archive

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


Tom,

There is no space there at all. What you noticed is just how it was rendered by mail server.

I still need help in getting this done .

On Oct 31, 2014 7:31 PM, "Tom N Harris" <telliamed@whoopdedo.org> wrote:
On Friday, October 31, 2014 06:33:07 PM Emeka wrote:
> I also wanted to do some comparison :
>
> if mystring.sub(i,i) == ' " '  then .... end It is not comparing at all
> ,and this also failed.
>
> mystring.sub(i,i)  == ' ' ' ..

The spaces in the literal are significant. You're comparing a one-byte string
to a three-byte string. Of course it will be false.

--
tom <telliamed@whoopdedo.org>