> -----Original Message-----
> From: Wen Ni Leong [mailto:[EMAIL PROTECTED]]
> Sent: 21 March 2001 10:10
> To: [EMAIL PROTECTED]
> Subject: [PHP] trim string
> 
> 
> I need help in this basic string function.
> I query from the database by using while loop and the result in in
> array.  I separated them by using "," .
> 
> I want at the end of the string to be trim off.  Unfortunately I tried
> all the string function such as chop,trim and substr but they seem like
> can't manage to trim the end of the string.  Please help me.

http://www.php.net/rtrim

James

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to