Re: What do you mean?

From: Date: Wed, 23 Jan 2002 22:49:48 +0000
Subject: Re: What do you mean?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-81787@lists.php.net to get a copy of this message
maybe not a justify function, but with a little creativity.... str_pad() will take the argument string and pad it to a new length with another string... (&nbsp;...) so if you know how long you would like each line or can figure it out... that could end up being a lot of extra little characters though. messy and bigger. depending on the application, i am sure there are cleaner ways of 'justifying.' ----------------------------------------------- Brian Schneider Someone@mindless.com || Gravity@baskettcase.com WSU Mechanical Engineering ----------------------------------------------- "May the gods give you that which you deserve." ----------------------------------------------- On Wed, 23 Jan 2002 at 4:41pm, Ben Sinclair cried forth in a loud voice saying: > Yes, there is a function that "cleans up" carriage returns and line feeds by > changing them to <BR>'s. There is no function to magically justifty text. Find > some HTML documentation and output the HTML to justify your text. > > -- > Ben Sinclair > ben@yourwebwill.com > ----- Original Message ----- > From: "Scott Fletcher" <scott@abcoa.com> > To: <php-general@lists.php.net> > Sent: Wednesday, January 23, 2002 4:24 PM > Subject: [PHP] What do you mean? > > > > What do you mean? There is a php function that can clean up the carriage > > return and line feed. There's a php function somewhere that will fix up the > > amount of spaces for each lines to make the end of each line to be all > > aligned. So, what would it be? > > > > Thank, > > Scott > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#81787) next »