On Fri, 4 Sep 2009 23:24:34 +0900
Ne Scripter <stuart.clarke / northumbria.ac.uk> wrote:

> string.gsub(/^0/, "")

Try something like this:

string.gsub(/^0*/, "")

This means:  0 or more occurrences of character "0", starting at the
beginning of the string.


-- 
http://spiralofhope.com