RE: [PHP] more on trimming

2001-02-17 Thread ..s.c.o.t.t..
---Original Message- From: jaskirat [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 17, 2001 00:17 To: [EMAIL PROTECTED] Subject: [PHP] more on trimming Since this thread is running I would like to know the gurus' opinons on the similar following situation Suppose there is a

Re: [PHP] more on trimming

2001-02-17 Thread Simon Robson
Take a look at: http://www.php.net/manual/en/function.chop.php almost identical to perl's chomp(). At 13:46 17/02/01 +0530, jaskirat wrote: Since this thread is running I would like to know the gurus' opinons on the similar following situation Suppose there is a variable like this $var =

Re: [PHP] more on trimming

2001-02-17 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] ("..s.c.o.t.t..") wrote: PS: if anyone out there is more familiar with PHP/regexps than i am, could you please send me an email explaining how to get global pattern matching (ala perl's s///g command) in PHP?? i cannot seem to find any

[PHP] more on trimming

2001-02-16 Thread jaskirat
Since this thread is running I would like to know the gurus' opinons on the similar following situation Suppose there is a variable like this $var = "This is a variable "; Now I want to strip off white spaces on the end without losing them in the middle of the sentence .. I had