[Gambas-user] Textarea

Rob Kudla sourceforge-raindog2 at ...94...
Thu Mar 30 19:02:50 CEST 2006


On Thu March 30 2006 07:37, Adrian Debbeler wrote:
> how can I read/delete a line in a textarea (not the whole text
> but only one line).

Something like this:

dim ar as new String[]
ar = split(textarea1.text, "\n")
if ar[4] = "Please delete me, let me go" then
	ar.remove(4)
endif
textarea1.text = ar.join("\n");

I don't know if all that syntax is good, but it should be pretty 
close.

Rob




More information about the User mailing list