Need a better example of how this would be useful. Using your example, the following does the same thing.
code:
 
$String="hello world"
For $Count = 1 To Len($String) Step 1
? SUBSTR($String,$Count,1)
Next

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.