I need to trim the following query field: "LQ2daily.description" from both left and right side. The field contains text strings like this:
FG - Prod - Mfg Sub-Totals ---
FG - Prod - Mfg - Whole Grain Sub-Totals ---
FG - Prod - Mfg - Egg Sub-Totals ---
On the left side I need to trim "FG - " (everything before "Prod") and on the right side I need to trim " Sub-Totals ---" leaving me with the following:
Prod - Mfg
Prod - Mfg - Whole Grain
Prod - Mfg - Egg
Thank you.
FG - Prod - Mfg Sub-Totals ---
FG - Prod - Mfg - Whole Grain Sub-Totals ---
FG - Prod - Mfg - Egg Sub-Totals ---
On the left side I need to trim "FG - " (everything before "Prod") and on the right side I need to trim " Sub-Totals ---" leaving me with the following:
Prod - Mfg
Prod - Mfg - Whole Grain
Prod - Mfg - Egg
Thank you.