I think even VBS doesn't support strings in the for-each-in-next construct but my gut feeling is that it would be kinda usefull (think about how handy it is to iterate over char[] arrays in C) :

code:

for each $char in "hello world"
? $char
next

An idea for a new UDF :

code:

for each $char in CharArray("Hello World")
?$char
next

Split() does something similar but can't quite be used to convert strings into char arrays ... the string needs at least some kind of delimiter between chars (anyone?)

-Shawn

[ 25 November 2001: Message edited by: Shawn ]