Using SubString in XSLT

microkarl

Well-known member
Joined
Apr 22, 2004
Messages
82
Location
Morristown, NJ
All,
I have a problem when writing code on XSLT. I have a string like this: "123454433-56545663". I need to find a way to extract the last 3 digits before the "-" so the result will become: "433", I though about Substring but then I realized I cannot do it because the parameters of Substring is: "string, number, number", and I need to distinguish the "-".
Does anyone have any idea?

Many thanks,
Carl
 
Back
Top