home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
dbadvan.zip
/
FASTWORD.PRG
< prev
next >
Wrap
Text File
|
1987-02-14
|
368b
|
17 lines
STOR F TO W
DO WHIL .NOT.W.AND.CPOINTER<=LEN(TRIM(STRING))
IF$(STRING,CPOINTER,1)<>" "
STORE T TO W
STORE $(STRING,CPOINTER,1) TO NEWSTRING
ENDI
STOR CPOINTER+1TO CPOINTER
ENDD
DO WHIL W.AND.CPOINTER<=LEN(TRIM(STRING))
IF$(STRING,CPOINTER,1)<>" "
STOR NEWSTRING+$(STRING,CPOINTER,1)TO NEWSTRING
STORE CPOINTER+1TO CPOINTER
ELSE
STORE F TO W
ENDI
ENDD