Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Donald DUCK : YOU ARE FIRED!!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...