[oXygen-user] Re: curiosity sake

George Cristian Bina
Mon Nov 17 06:21:32 CST 2003


Hi Aga,

If you have a template similar with "selectBeforeNumber" but you test the
current character not to be a number and instead of returning the value on
otherwise you call the "selectBeforeNumber" template passing the value as
parameter then you have a solution for that.

Best Regards,
 George

----- Original Message -----
From: "Aga Shirazi" <>
To: "George Cristian Bina" <>;
<>
Sent: Friday, November 14, 2003 8:33 PM
Subject: curiosity sake


> George,
>
> Just for curiosity sake,
>
> In problem #2, we know that there are digits at the end to be removed, but
> what if digits and alphabets are mixed? Ex:
>
> XML FILE
> <INFO>some book 19 some discription</INFO>
> <INFO>another book 2000 some description again</INFO>
> <INFO>the last book 90 text</INFO>
>
> Now, we need just the text before the number. i.e. "some book" or "another
> book".
>
> Thanks
> Aga Shirazi




More information about the oXygen-user mailing list