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

Re: breaking string into substrings or arrays

Subject: Re: breaking string into substrings or arrays
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 20 Apr 2005 06:15:50 +1000
break a string into substrings
On 4/20/05, Ali Choumane <ali.choumane@xxxxxxx> wrote:
> Hi,
> I have the same problem but with more delimeters, i can't know the kind of
> first delimeter.
>  e.g  <Value>[Alpha, Beta; Gamma: Alpha .Beta]</Value>
> In my project I am dealing with at least 10 delimeters ?
> can I use tokenize() ? should I  download libraries to use this function?

With FXSL (for XSLT 1.0) one can use the str-split-to-words contained
in the file

It allows a string of delim,iters to be specified as a parameter.

First introduced in  2001  here:


In FXSL for XSLT 2.0 I recently introduced a more performant function:
getWords(), which produced about 28000 words from the text of
Shakespeare's "Othello" in about 6 seconds.

Dimitre Novatchev

Current Thread


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.
First Name
Last Name
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.