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

Displaying a string to the right of the first space 1

Status
Not open for further replies.

darwin101

Programmer
Mar 7, 2001
156
US
Hi All

Is it possiable to select the text after the first space in a text field?
For example I would only want to print the Name after the first space "Bob"
aspex1- Bob
wr- Bob
A1 Bob
2 Bob

Thanks
 
Try:

mid({Bob.Ship Via},instr({Bob.Ship Via}," ")+1)

Replacing {Bob.Ship Via} with your field/formula.

-k
 
works great thanks :) I guess this could be used for more advanced pattern matching, something new to play with.
Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top