Hi All,
Recently joined this forum and searched for the answer tono avail (apologies now if the answer is here in another thread).
I have a field with a short text string that looks like this: "lastname, firstname (domain\username)". I want to extract the "username" portion of this text into a separate field. I have tried using the following expression, but I am left with the trailing parentheses:
Expr: Mid[fieldname], InStr([fieldname],"")
So I am getting what I asked for, but with extras! Is there another way to use the InStr function to omit the trailing parentheses or perhaps a completely different expression?
Thanks in advance
Recently joined this forum and searched for the answer tono avail (apologies now if the answer is here in another thread).
I have a field with a short text string that looks like this: "lastname, firstname (domain\username)". I want to extract the "username" portion of this text into a separate field. I have tried using the following expression, but I am left with the trailing parentheses:
Expr: Mid[fieldname], InStr([fieldname],"")
So I am getting what I asked for, but with extras! Is there another way to use the InStr function to omit the trailing parentheses or perhaps a completely different expression?
Thanks in advance