XSLT: how to rebuild a string separated by a delimiter
I have the following string R/0R4/TEST/TEST AVAILABLE/R/12345678901234C1
I want to remove 1 digit from the string after the last "/" such that 1234567890123C1
I then want to rebuild the original string with the newValue such that: R/0R4/TEST/TEST AVAILABLE/R/1234567890123C1
I have the following below which shortens the last string by 1 digit. But I do not know how to rebuild it now.
only do the processing on the last component before you put it back