Subject: Re: change case
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 18 Oct 2000 11:46:10 GMT
|
> Is there a way to change the case of a bit of a string?
Difficult to give definite answer. As you post from .co.uk
the standard answer would be
translate($x,'abcdefghijklmnopqrstuvwxyz',
'ABCDEFGHIJKLMNOPQRSTUVWXYZ')
But this can get tedious if you are using a language that
uses accented letters or sz or ... In that case it might be
better to use an extension function to call out to some
more locale-aware string handling library.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|