xsl-list
[Top] [All Lists]

[xsl] substring after/substring before

2009-03-28 04:38:01
Hi List,

Can I spilit a string into two parts by last space as substring-before(., '

'[last()]) is not getting accurate result. 


Input : 

A. B. C. Surname


Output:

<fnm>A.</fnm>

<snm>B. C. Surname</snm>


Required output

Output:

<fnm>A. B. C.</fnm>

<snm>Surname</snm>


Anybody have any clue???


Thanks

...JSR





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>