I would like to ask if there is a function that can be use to to remove a duplicate value inside a string separated by | simplest possible way. I have below example of the s
Assuming that you can use XSLT 2.0, and assuming that the input looks like
1111-1|1111-1|1111-3|1111-4|1111-5|1111-3
you could use the distinct-values and tokenize functions:
distinct-values
tokenize
And the result will be
1111-1|1111-3|1111-4|1111-5