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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get the last word from a series and map it. 2

Status
Not open for further replies.

rohitair

Programmer
Aug 30, 2011
6
IN
I have a text with /
ex proc/get/lastword
I dont know how many / slashes will be there in the text.
I need to get last word and map it.
Please suggest a sloution.Thanks
 
Use the WORD function...

WORD(Text_Item, "/", -1)

-1 indicates that you want the last instance.

Richard
 
Yes, the '-' means read from the right and 'number' is which delimited word you want.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top