This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: String manipulation question


-----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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]