RE: [PHP] space in strings

2001-08-13 Thread Jack Dempsey
$string = str_replace(' ','',$string); -Original Message- From: Martin Skjoldebrand [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 12:03 AM To: [EMAIL PROTECTED] Subject: [PHP] space in strings Some time ago I needed a function that remove space in strings. Sure there is one

Re: [PHP] space in strings

2001-08-13 Thread CC Zona
In article 001301c12476$3420f300$82602c3f@2pqjp01, [EMAIL PROTECTED] (Jack Dempsey) wrote: that removes trailing space - but is there one that removes ALL spaces from a string? Like: $string = this is a string; rmspc($string); // $string is now thisisastring $string =