0

How to make XSLT substring-after last separator

for example the separator is '-'

ex : N1-N2-N3

so the result should be N3

MOz
  • 39
  • 6
  • If your processor supports the EXSLT `str:tokenize()` extension function, you could use that with a `[last()]` predicate. – michael.hor257k Nov 24 '21 at 13:10
  • i dont have str:tokenize iam using XSLT 1.0 – MOz Nov 24 '21 at 13:35
  • I know you are using XSLT 1.0 - you have tagged your question so. But some XSLT 1.0 processors support *extension* functions (read: extending the functionality of XSLT 1.0). Which processor are you using? – michael.hor257k Nov 24 '21 at 14:02

0 Answers0