Re: [xsl] String manipulation question

Subject: Re: [xsl] String manipulation question
From: Antonio Fiol Bonnín <fiol@xxxxxxxxxx>
Date: Fri, 19 Jul 2002 14:44:36 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

|
|
|I'm having difficulties in thinking of a short and neat way of
appending '0'
|in front of any number between 1-9 (if its not already there).
|[And appending a '20' for a year format (if its not already there)].
|Any help appreciated.

A very simple way is using substrings of '00000000000'.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQE9OAm0CEvxyR+MqTQRAkF+AJ4zPDqjmuH2wCMK7XBUCimTqLJEngCfeP93
j+qr4grxvoQwardZ2PQ6Zrg=
=leaW
-----END PGP SIGNATURE-----



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


Current Thread