[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Splitting non-delimited string

Subject: Splitting non-delimited string
From: "Denny, Allison M. (LNG-CIS)" <allison.denny@xxxxxxxxxxxxxx>
Date: Fri, 28 Dec 2001 12:10:28 -0500
allison denny
Hello,

I have an id that is half numeric and half text.  I need to split it into
two ids--one numeric, and one text.  The id can be any length, and has no
delimiters.

From:
<AgencyReportNumber>123ABC</AgencyReportNumber>

To:
<AGENCY-RPT-NO>
<NUMBER-PORTION>123</NUMBER-PORTION>
<TEXT-PORTION>ABC</TEXT-PORTION>
</AGENCY-RPT-NO>

Substring doesn't seem appropriate since there is no delimiter and no set
number of characters.  My other thought is to somehow use number
recursively--could this work?  Any advice would be appreciated.

Thanks in advance,
Allison Denny


Allison Denny
Data Analyst
4520 East-West Highway
Bethesda, MD  20814

LexisNexis
It's how you know 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.