Hello AT Community,
I am looking for a formula that capitalises the first letter of every word before the " |" in a string. 3 examples below
EXAMPLE 1
The output for "ARCHITECT | Tom Jerry”
to be Architect
EXAMPLE 2
The output for "BUILDING AUTHORITY OFFICER | Road Runner"
to be Building Authority Office
EXAMPLE 3
The output for "CIVIL ENGINEER: Energy Performance Certificate | Bugs Bunny",
to be Civil Engineer: Energy Performance Certificate
Thanks in advance