On Wed, 23 May 2001 15:44, Wade Halsey wrote:
> Hey
>
> How can I add a certain number of whitespace chars to a text file?
> I write variables to a text file and I want to seperate them by certain
> numbers of whitespace chars
>
> eg : $var(40 whitespace)$var2(10 whitespace)
>
> TIA
>
> Wade

/manual/en/function.str-pad.php should do the trick

-- 
David Robley      Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES      Flinders University, SOUTH AUSTRALIA  

   Windows: just another pane in the glass.

-- 
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