
Patrick B. answered 07/27/19
Math and computer tutor/teacher
5 inputstr$=" The quick brown fox jumped over the lazy dogs !!!"
10 iStrLength = Len(inputStr$)
15 ? "THe length of the input string is " + str$(iStrLength)
20 iIndex=1
25 while iIndex < iStrLength
30 iDelimPos = instr$(iIndex,inputstr$," ")
32 if delimPos=0 then goto 50
35 ' debug statement
40 iIndex = iDelimPos+1
45 wend
50 lastStr$ = mid$(inputStr$,iIndex)
55 if len(lastSTr$)>0 then print lastStr$
60 end