04-13-2005, 03:03 PM
The second code is dangerous. If this getl is not the first getl in the function, it is possible that parsing does not start from the beginning.
Better use foreach:
str s ss="one[]two[][]four[]"
foreach s ss
,if(s.len=0) continue ;;skip empty
,out s
Better use foreach:
str s ss="one[]two[][]four[]"
foreach s ss
,if(s.len=0) continue ;;skip empty
,out s