>partno = 'abc defg hijkl LMN OPQ diw -0o32ewk dkdm woewmlmdlsm' >L=LEN(partno) >nLasposition=1 >FOR I=1 TO L >cSpace=SUBSTR(Partno,I,1) >IF cSpace=" " >nSpaceposition=I >cPart=SUBSTR(Partno,nLasposition,I-nLasposition) >nLasposition=I+1 >WAIT WINDOW cPart >ENDIF >Endfor >Yes, it can, but ALINES() is faster and the code is more readable and more likely to be correct the first time.