Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Truncating the first two digits and the dash...


Nam

Recommended Posts

Hi there,

 

We have project numbers in our database that are in the following format:

 

xx-xxx-xx-xxx

 

We are changing our project numbers now to be in this format:

 

xxx-xx-xxxx

 

How would I truncate the first two digits and the dash?

 

Thanks in advance,

 

Nam

Link to comment
Share on other sites

Or more simply:

 

Right (CurrentProjectNumber, Length(CurrentProjectNumber) - 3)

 

smiley-smile Use in a calculated replace of the field contents.

smiley-surprised Make sure you backup first.

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

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...

Important Information

Terms of Use