M
Matrix
Guest
Hi,
Could anyone help me. I am trying to separate a list of postcodes in a query just to extract the letters of the first part postcodes (i.e BS, NE, HW etc). The only problem is that all the postcodes are of different lengths and so if I just extract the first left 2 charcs this will give me a number also where there is only one letter and not two (i.e B11 gives B1).
Does anyone know of an expression which can check the second letter/number and if it is a number then to exclude it. Maybe an IIF statement??
Many Thanks.
Could anyone help me. I am trying to separate a list of postcodes in a query just to extract the letters of the first part postcodes (i.e BS, NE, HW etc). The only problem is that all the postcodes are of different lengths and so if I just extract the first left 2 charcs this will give me a number also where there is only one letter and not two (i.e B11 gives B1).
Does anyone know of an expression which can check the second letter/number and if it is a number then to exclude it. Maybe an IIF statement??
Many Thanks.