This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Formatting a String
- From: "CROFT, MICHAEL" <MCROFT at amica dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 17 Jun 2002 10:36:24 -0400
- Subject: [xsl] Formatting a String
- Reply-to: xsl-list at lists dot mulberrytech dot com
Is there a slick way to format a string? For example:
Turn this: 5085551234 Into this: (508) 555-1234
This isnt a true number, so I dont think number functions will do it. I was
able to get this format with param's and substring functions, but its pretty
ugly.
Mike
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender and postmaster@amica.com.
**********************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list