Another Text Box...I need help...

Blitz3D Forums/Blitz3D Beginners Area/Another Text Box...I need help...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

For this purpose, there is more than one solution, as seen more often in programming. To solve an issue like this, think about how you would do it yourself. How can you tell words apart from each other ? I would think that is the space between the words. So logically, the solution lies not in breaking up the sentence into words, but into finding the spaces in the sentence. Perhaps you could use this code as a base:
t$ = "this is a sentence"
For i = 1 to len(t$)
char$ = Mid$(t$, i, 1)
Print char$
Next

It breaks down the sentence into single characters.