note 31092 added to function.str-pad

From: Date: Wed, 09 Apr 2003 14:27:19 +0000
Subject: note 31092 added to function.str-pad
Groups: php.notes 
Request: Send a blank email to php-notes+get-46414@lists.php.net to get a copy of this message
[quote] daphreeek at neuron dot net dot nz 19-Oct-2002 03:18 "there could already be spaces in the string." WHO CARES??? I am assumimng that the spaces within the string are also intended to be displayed as a space so it doesnt matter. The code cd579 <a> hotmail * com gave will work perfect everytime :) [/quote] I guess with small pieces of tekst this works great. But if you have a LARGE file with many ' ' and replacing them with '&nbsp;' could increase your filesize extremely. In that case I do care. -- http://www.php.net/manual/en/function.str-pad.php http://master.php.net/manage/user-notes.php?action=edit+31092 http://master.php.net/manage/user-notes.php?action=delete+31092 http://master.php.net/manage/user-notes.php?action=reject+31092

« previous php.notes (#46414) next »