[xsl] string length

Subject: [xsl] string length
From: "Eric Schenfeld" <ESchenfeld.LISC_DC_PO.LISC_DC@xxxxxxxxxxx>
Date: Wed, 15 Aug 2001 15:47:06 -0400
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