[Home] [By Thread] [By Date] [Recent Entries]

Subject: 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
  • string length
    • Eric Schenfeld - Wed, 15 Aug 2001 15:56:41 -0400 (EDT) <=
      • Mike Brown - Wed, 15 Aug 2001 20:31:02 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member