Jun 1, 2005 #1 Zych IS-IT--Management Apr 3, 2003 313 US Hello, I have a file that has CR/LF's and I need them replaced with a space or " ". How can I do this? Thanks, Zych
Hello, I have a file that has CR/LF's and I need them replaced with a space or " ". How can I do this? Thanks, Zych
Jun 1, 2005 1 #2 DRJ478 IS-IT--Management Aug 10, 2001 2,264 US Still the same function: Code: str_replace("\n"," ",$str); str_replace("\r"," ",$str); Upvote 0 Downvote
Jun 1, 2005 1 #3 kenrbnsn Technical User Jun 7, 2002 606 US Or Code: str_replac(array("\n","\r"),' ',$str); Untested. Ken Upvote 0 Downvote
Jun 1, 2005 Thread starter #4 Zych IS-IT--Management Apr 3, 2003 313 US Perfect! Thanks, Zych Upvote 0 Downvote