Re: [PHP] Re: stripping spaces from a string

2002-12-06 Thread Jule Slootbeek
perfect, exactly what i needed thanks J. On Friday, Dec 6, 2002, at 16:38 US/Eastern, J Smith wrote: Regular expressions would be overkill. Try $newString = str_replace(" ", "", $oldString); J Jule Slootbeek wrote: Hi, What's the best and easiest way to strip all the spaces from a string

[PHP] Re: stripping spaces from a string

2002-12-06 Thread J Smith
Regular expressions would be overkill. Try $newString = str_replace(" ", "", $oldString); J Jule Slootbeek wrote: > Hi, > > What's the best and easiest way to strip all the spaces from a string? > do i use regular expressions for it? > > TIA, > J. > Jule Slootbeek > [EMAIL PROTECTED] --