I am new to C # and I am using windows forms. I am dealing with a Postcodes string, and I am trying to get the first letters of the zip code and store it in a variable, for example:
BL9 8NS (I want to get BL)
L8 6HN (I want to get L)
CH43 7TA (I want to get CH)
WA8 7LX (I want to get WA)
I just want to get the first letters before the number, and, as you can see, the number of letters can be 1 or 2 and maybe 3. Does anyone know how to do this? thank you
source share