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.

Well, there is some code for a text box:
http://www.blitzmax.com/codearcs/codearcs.php?code=2022
Remove the clipboardcommands to see it running.

As for breaking a string in series of 16 chars, use Mid$. It returns a specified part of a string.
t$ = "12047ghikjghdfsakjhgkjdsaliuryewiuyrioewqiroye q ruiewoq iurye wiqyrewiuqoyreiuow qyriue"

For i = 1 To Len(t$)
	Print Mid$(t$, i, 16)
	i = i + 15
Next


To search a string for spaces, use Instr(). It searches for a string in another string and returns the location where it was found.