Hey,
Ok, I'm not a COMPLETE newbie, but I'm not a guru, either. What I want to do is have a for-next loop, and every time the loop goes around, it takes the "x"th letter from a string variable. For example, if the string variable was "Hello", the loop would go around 5 times, and msg$(1)
would be "H", msg$(2) would be "e", msg$(3) would be "l" and so on. I tried using the left$("hello", but for msg$(2) it gives me "He" instead of just "e". Does anyone know the command I would use to get a single letter, instead of a letter and all the letters before it? Thanks.
Ok, I'm not a COMPLETE newbie, but I'm not a guru, either. What I want to do is have a for-next loop, and every time the loop goes around, it takes the "x"th letter from a string variable. For example, if the string variable was "Hello", the loop would go around 5 times, and msg$(1)
would be "H", msg$(2) would be "e", msg$(3) would be "l" and so on. I tried using the left$("hello", but for msg$(2) it gives me "He" instead of just "e". Does anyone know the command I would use to get a single letter, instead of a letter and all the letters before it? Thanks.