xsl-list
[Top] [All Lists]

Re: Calculations involving measurements with units

2004-01-02 05:39:27
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(_at_)logicsquad(_dot_)net
mailto:phoadley(_at_)maths(_dot_)adelaide(_dot_)edu(_dot_)au

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list