Forum Discussion
MarkShnier__You
Qrew Legend
There is more than one way to do this, and detecting a line feed can be tricky, but try this
Trim(Right(Left([my Code Order field], "\n"), " "))
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
Trim(Right(Left([my Code Order field], "\n"), " "))
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
RaymondSakar
3 years agoQrew Cadet
Thanks, Mark. That formula output the Order #, not the Code. I've tried several variations and can't seem to get the Code.​ I either get the Order, the word "Code" or the word "Order"
------------------------------
Raymond Sakar
------------------------------
------------------------------
Raymond Sakar
------------------------------
- MarkShnier__You3 years agoQrew LegendOK, Plan B
var text ReplaceCode = SearchAndReplace([Code Order], "Code:", "|");
var text ReplaceOrder = SearchAndReplace($ReplaceCode, "Order:", "|");
Trim(Part($ReplaceOrder,2, "|"))
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------