Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting text in multi-line textbox to single line

Status
Not open for further replies.

KingofSnake

Programmer
Jul 25, 2000
73
US
I have a multiline text box, and what I want to do is have something to convert all the text down to one line. For example:

If I have this in my text box:
line1
line2
line3
lastline

I want it to look like this:
line1line2line3lastline

I figured all I'd have to do is search every charcter in the text box and replace all chr$(13)'s with "", but that didn't work. What should I do?
KingOfSnake - The only sports drink with ice crystals
(and marshmellos!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top