Forum Discussion
MarkShnier__You
3 years agoQrew 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
------------------------------
- RaymondSakar3 years agoQrew CadetThanks, 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
------------------------------- 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
------------------------------