K
K
Hello
I have variable string from which I want to extract from the left all
those characters up to before the second character that is an alphabet
(rather than a number).
In the case where Sstring = C89Butter the extraction would return "C89".
If I know that the character I am using is "B" then I can use:
mid(Sstring,1,Find("B",Sstring,2)) to yield "C89"
However, in my case, all I know is that the character is any alphabet.
Appreciate any ideas.
Thanks
K
I have variable string from which I want to extract from the left all
those characters up to before the second character that is an alphabet
(rather than a number).
In the case where Sstring = C89Butter the extraction would return "C89".
If I know that the character I am using is "B" then I can use:
mid(Sstring,1,Find("B",Sstring,2)) to yield "C89"
However, in my case, all I know is that the character is any alphabet.
Appreciate any ideas.
Thanks
K