CharlotteM
7 years agoQrew Assistant Captain
How can I derive a name in the middle of text?
We have a block of text coming in from Quickbooks. (Description on invoice line item)
There is always a line in the description that says
Consultant: First Last
Where First and Last are their first and last names.
There may be other things above it, and below it.
Is there any way to parse this block of text and derive "First Last" as the result?
I tried using both of these but the first one fails if there is more than one colon, and the second one fails if this line is not the third line.
Left(Trim(Right([Description],":")),"\n")
Trim(Right(Part([Description], 3, "\n"),":"))
Can this be done in native QuickBooks?
There is always a line in the description that says
Consultant: First Last
Where First and Last are their first and last names.
There may be other things above it, and below it.
Is there any way to parse this block of text and derive "First Last" as the result?
I tried using both of these but the first one fails if there is more than one colon, and the second one fails if this line is not the third line.
Left(Trim(Right([Description],":")),"\n")
Trim(Right(Part([Description], 3, "\n"),":"))
Can this be done in native QuickBooks?