Date: 05/31/98
- Next message: Michael Kunze: "[PHP-DEV] Can't compile new Zlib interface"
- Previous message: shane: "[PHP-DEV] CVS update: php31/sapi"
- In reply to: rasmus: "[PHP-DEV] CVS update: php3"
- Next in thread: rasmus: "[PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I think the request was for trim() to chop at both ends. This is what
the function called trim() in a number of other languages (Visual Basic
is the only one that springs to mind, but I'm sure there's others) does.
Something that trims only at the front is good, though. Perhaps add
trim() to do both, leave the current trim() as ltrim(), and add rtrim()
as an alias for chop()?
Jim
On May 31, rasmus wrote:
> Date: Sunday May 31, 1998 @ 9:15
> Author: rasmus
>
> Update of /repository/php3
> In directory asf:/tmp/cvs-serv23057
>
> Modified Files:
> ChangeLog
> Log Message:
> Add trim() function - strips whitespace at the start of a string
>
> Index: php3/ChangeLog
> diff -c php3/ChangeLog:1.360 php3/ChangeLog:1.361
> *** php3/ChangeLog:1.360 Sat May 30 18:17:44 1998
> --- php3/ChangeLog Sun May 31 09:15:34 1998
> ***************
> *** 1,6 ****
> --- 1,7 ----
> PHP 3.0 CHANGE LOG ChangeLog
> |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> May ?? Version 3.0
> + - Add trim function (similar to chop, except it strips at the beginning)
> - Added 2 optional args to fsockopen function - errno and errstr
> - Fixed bug in split() function related to leading matches
> - Fixed problem in error_log() function (thanks to Jan Legenhausen)
- Next message: Michael Kunze: "[PHP-DEV] Can't compile new Zlib interface"
- Previous message: shane: "[PHP-DEV] CVS update: php31/sapi"
- In reply to: rasmus: "[PHP-DEV] CVS update: php3"
- Next in thread: rasmus: "[PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

