[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] how to split word into sequence of letters


Subject: Re: [xsl] how to split word into sequence of letters
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Sat, 18 Aug 2012 07:47:51 +0530

Hi Robby,
    Here's another variant of the solution,

for $x in 1 to string-length($stringVal) return substring($stringVal, $x, 1)

But the solution with string-to-codepoints(..) etc is equally good.

On Fri, Aug 17, 2012 at 8:04 PM, Robby Pelssers <Robby.Pelssers@xxxxxxx> wrote:
> Hi guys,
>
> Probably the stupidest question since a while but what would be the preferred way to split a word into a sequence of letters  ;-)
>
> Cheers,
> Robby




-- 
Regards,
Mukul Gandhi


Current Thread