Subject: Re: Removing leading zeros
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 24 Jan 2003 23:38:02 -0800 (PST)
|
"Nischal Muthana" <nischal_muthana@xxxxxxxxx> wrote in message
news:20030125024711.36950.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi Wendell
>
> Thanks for your time. Your solution works perfect to
> just remove all the zeros in the given string.
>
> The one you mentioned does the following
>
> 000125000 -- 125
> 0012300 -- 123
> 01234 -- 1234
Which XPath engine are you using? It must be extremely broken.
The value of
string(number(0012300))
is just
12300
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|