Substring after last character in xslt

后端 未结 4 453
我在风中等你
我在风中等你 2020-12-10 07:48

I can\'t find the exact answer for this question so I hope someone will help me here.

I have a string and I want get the substring after the last \'.\'. I\'m using

4条回答
  •  佛祖请我去吃肉
    2020-12-10 08:45

    Here is a solution using EXSLT str:tokenize:

     
    

    (the if is here because if your string ends with the separator, tokenize won't return an empty string)

提交回复
热议问题