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

Extract Text from Equation 1

Status
Not open for further replies.

Knicks

Technical User
Apr 1, 2002
383
US
I have a field where the data is

John Smith(4321)
Adrian Bellows(5432)
William Grey(123)

I need to extract the name portion only stripping out "(", ")", and the numeric portion. There is very few examples of where the numeric portion is 3 digits instead of 4 but it would be great if it is flexible enough to always strip the Parentheses and numbers. Any help would be great,

Thank you
 
Hi,

Use the Split() function on the OPEN PARENTHESIS

Code:
msgBox Split(YourFld, "(")(0)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top