I have this one field that contains data like this
Field 1 what I need
DE DE
CTT111 CTT
CY22 CY
BRBB BRBB
WHCH201 WHCH
What I am trying to do is determine if there are any numbers in the field if so then extract the letters to the left of the number if there is no number then extract the whole field.
I have been trying this with the expression builder using IIf and String and Search and left functions nesting them but nothing I have put together seems to work.
Any help would be appreciated
Field 1 what I need
DE DE
CTT111 CTT
CY22 CY
BRBB BRBB
WHCH201 WHCH
What I am trying to do is determine if there are any numbers in the field if so then extract the letters to the left of the number if there is no number then extract the whole field.
I have been trying this with the expression builder using IIf and String and Search and left functions nesting them but nothing I have put together seems to work.
Any help would be appreciated