note 21886 added to function.str-pad

From: Date: Thu, 30 May 2002 14:34:19 +0000
Subject: note 21886 added to function.str-pad
Groups: php.notes 
Request: Send a blank email to php-notes+get-31202@lists.php.net to get a copy of this message
To convert your string couldnt you just use strval($var)? What if you want non-breaking spaces? If I try to str_pad with " " PHP thinks my padding string is 6 characters, whn in HTML it is only one. -- http://www.php.net/manual/en/function.str-pad.php http://master.php.net/manage/user-notes.php?action=edit+21886 http://master.php.net/manage/user-notes.php?action=delete+21886 http://master.php.net/manage/user-notes.php?action=reject+21886

« previous php.notes (#31202) next »