|
Thank you all for the response. Now, I have multiple options to choose from J. From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of Aapo Talvensaari On Oct 27, 2014 5:55 PM, "Jain, Punit" <Punit.Jain@emc.com> wrote: How about: if (("0x123"):find("0x", 1, true)) == 1 and tonumber("0x123") then ... |