Re: Extract data from a field using a delimiter character

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Mid(Mid(String, Instr(String,"(")+1),Instr(Mid(String, Instr(String,"(")+1),")
")-1)

I think all the parentheses are in there correctly. Anyway, you get the idea.
HTH.


bdmsfan wrote:
I have a column with the following values

SCL (LP Steam Condensate)
WF (Fire Water)
P (Process Piping)
etc...

I need to extract only the characters inside the parenthesis (i.e.LP Steam
Condensate or Fire Water or Process Piping). I thought using the Left
Function but since the length is variable I am not sure how to set it so it
uses the parenthesis as delimiter. Thanks in advance.
Bruno

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/200610/1

.