V
vicenflor
I have a text string which usually starts with the letter M, followed by 5
chiffres and then again 1 or 2 characters : example M51235W2. The 7th
character (in this case W) is giving me info about the magnification
What I want is the following :
1) If the first character is the letter M, then the 7th character should be
checked. In case this 7th character is the letter A then the variable
"magnification" should be "1x", in case this letteris B then the
magnification should be "2x" , in case it is W then the "magnification"
should be "23x" and so on.....
2) If the first character is the letter M, then the text string should be
cut after the 6th character so that only M51235 is displayed.
Any help is kindly appreciated!
chiffres and then again 1 or 2 characters : example M51235W2. The 7th
character (in this case W) is giving me info about the magnification
What I want is the following :
1) If the first character is the letter M, then the 7th character should be
checked. In case this 7th character is the letter A then the variable
"magnification" should be "1x", in case this letteris B then the
magnification should be "2x" , in case it is W then the "magnification"
should be "23x" and so on.....
2) If the first character is the letter M, then the text string should be
cut after the 6th character so that only M51235 is displayed.
Any help is kindly appreciated!