substring-before and substring-after
Hi. I'm using XSLT 1.0.
I have the following string:
GROUPA (EXCLUDE BOB, MIKE)
I like to separate the string into 2 strings:
GROUPA
(EXCLUDE BOB, MIKE)
I'm having an issue using substring-before and substring-after.
For example:
substring-after('GROUPA (EXCLUDE BOB, MIKE)', '(')
Output:
EXCLUDE BOB, MIKE)
I want the output to be:
(EXCLUDE BOB, MIKE)
I like the left parenthesis to be included in the output.
I also have the same issue with substring-before.
How do I that?
|