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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove carriage returns, etc from text file...

Status
Not open for further replies.

rjonesX

Technical User
Jun 18, 2001
56
US
I need to remove carriage returns or line breaks from a text file using ASP

in php it would be something like str_replace("\n", " ", $string);

in asp it is... replace(string, ???, " ")


Russ
 
Code:
[red]replace([blue]replace(myString, char(10), "")[/blue], char(13), "")[/red]

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook

zen.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top