Subject: Re: [xsl] Formatting a String From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx> Date: Mon, 17 Jun 2002 16:07:10 +0000 |
able to get this format with param's and substring functions, but its prettyDid you try substring like below?
ugly.
From: "CROFT, MICHAEL" <MCROFT@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: [xsl] Formatting a String Date: Mon, 17 Jun 2002 10:36:24 -0400
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@xxxxxxxxxx **********************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
_________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Formatting a String, David Carlisle | Thread | Re: [xsl] Formatting a String, Alex Genis |
Re: [xsl] generic apply-template ca, David Carlisle | Date | RE: [xsl] Multiple search, Andrew Welch |
Month |