remove line break from string

Wade Preston Shearer groups at anavidesign.com
Sat Mar 6 23:05:18 MST 2004


Group:

Anyone know how I could remove a line break from a string? I am parsing 
a pipe delimited file and writing it out as XML, but the last value of 
the line is including the line break in with the variable. Are there 
any functions that I could use to remove the line break? or any that 
could truncate a string to only one line?

wade




More information about the UPHPU mailing list