I have a variable length string that I need to manipulate.
It's 20+ characters long, but I only need the first 3 and second three for
example:
abcdef 12.5,.76m4---L7,8724...
I can get the strip out all but first three (ABC) , and shift them to upper case, but can't find a method to extract the second three or the characters def.
Here's my code:
str1 = (str1.ToUpper)
trimmedString = (str1.Remove(3))
Any ideas?
Thanks,
Gary
It's 20+ characters long, but I only need the first 3 and second three for
example:
abcdef 12.5,.76m4---L7,8724...
I can get the strip out all but first three (ABC) , and shift them to upper case, but can't find a method to extract the second three or the characters def.
Here's my code:
str1 = (str1.ToUpper)
trimmedString = (str1.Remove(3))
Any ideas?
Thanks,
Gary