I would like to access the last letter of a string. The string would be a number no more than 2 letters. I can think of a way around this to simply test and see if there's a second character, use that, and if not, use the first character, but i'd prefer to use something a bit cleaner. The purpose is to format numbers as 21st, 35th, 87th and so on. Is there a length command or something that i could use? Thanks for the help.
eric
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- string length
- Eric Schenfeld - Wed, 15 Aug 2001 15:56:41 -0400 (EDT) <=
- Mike Brown - Wed, 15 Aug 2001 20:31:02 -0400 (EDT)
|
|