reason why I did not use "do until" is that... well in
VB I use only two loops: the for..next (with a counter) and the do...loop (when I do not know the number of loops)
I agree that "do until" it is a better choice in that case, but for me
VB has too many loops... :)
I only use the do...loop because it is the more flexible. "do until" is ok 'until' (pun intended) the logic of the program stays the same. if the loop must be exited before the 'until', an instruction like "if...then exit do" is needed.
With "do...loop" I can change the loop logic by adding/removing/moving the "exit do" condition as I wish
well, I was not that clear, did I...
anyway, this is just syntax preference
PS: I prefer 'if len(s) = 0' than 'if s = ""' because it is an integer comparison instead of a string comparison (not big deal anyway)