Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

extract part of a string

Status
Not open for further replies.

sheriberi

Technical User
Mar 13, 2013
7
US
I have a string of data that is a concatenation of a various number of items separated by a , I need to extract the last value every time. How can I write that formula?
 
i do not have crystal in front of me, so apologize for any typos or syntax errors.

I think you can do something like this:

Split({YourTable.YourField},",")[Ubound(Split({YourTable.YourField},","))]
 
Or
Mid({YourTable.YourField},instrRev({YourTable.YourField},",")+1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top