I am getting an error that the expression is too complex.
If I put the InStr in a column of it's own and the Left with a constant for the length, they both work.
What I need to do is show the first part of the postcode. In the UK we have postcodes (zipcodes) that have a space in the middle eg: NW1 4FS or B1 2GT or WC1Y 3CE.
Is there another way to parse the string?
Could it be data related? There are some postcode fields that are empty or don't have a space