Subject: Re: Calculations involving measurements with units
From: "Paul A. Hoadley" <paulh@xxxxxxxxxxxxxx>
Date: Fri, 2 Jan 2004 23:09:27 +1030
|
On Fri, Jan 02, 2004 at 09:26:35AM -0000, Michael Kay wrote:
> Another way to remove all characters except digits (and decimal
> points) from a string is:
>
> translate($x, translate($x, '0123456789.', ''), '')
Thanks for that, Michael.
--
Paul.
mailto:paulh@xxxxxxxxxxxxxx
mailto:phoadley@xxxxxxxxxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|