Jennifer84 0 Posting Pro

.
.
I have a textBox that contains some lines of text. What I wonder is if this was the textBox that I am writing in now and the 2 . . above these lines will represent completely emty lines.

What I am trying to do is to make a foor-loop that deletes these emty lines so this whole message will go up 2 lines.

Like if you would put the cursor at the "." above and press "Delete" on the keyboard the whole message will go up.

So I am trying to find a while loop that "Deletes" emty rows at the top as long as there is no text on that line.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.