That shouldn't affect the logic. You just need to add the appropriate conditional(s) in the loop. If it's only ever z or a number then it's a breeze!
So ... (logic not code)
Split text
Copy split(0)
For i = 1 to split.Length-1
If split(i) starts with "z"
Do one thing
Else
Do another thing




Reply With Quote