cgi - cleaning tabs and returns out of textarea

Jason Orendorff jason at jorendorff.com
Mon Jan 28 10:23:30 EST 2002


Glenn Stauffer wrote:
> [I need to strip newlines]

text = " ".join(text.splitlines())

## Jason Orendorff    http://www.jorendorff.com/




More information about the Python-list mailing list