[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: GSUB count problem
- From: "Javier Guerra" <javier@...>
- Date: Wed, 17 Sep 2008 14:47:46 -0500
On Wed, Sep 17, 2008 at 2:40 PM, Jeff Wise <jwise@sealyrealty.com> wrote:
> My attempt at counting certain records is failing. Does the "string.gsub"
> require a delimited string? I am trying to use hex without a null at the
> end.
>
>
>
> count = select(2, string.gsub(bytes, 0Xd3, 0xd3))
0xD3 evaluates to a number, not a string. try string.char(0xD3)
--
Javier