RE: [PHP] Stripping the first line of a file
| From: | Scott | Date: | Fri, 08 Feb 2002 15:33:47 +0000 |
| Subject: | RE: [PHP] Stripping the first line of a file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84000@lists.php.net to get a copy of this message | ||
Thanks Jerry!
In perl I was doing this:
printf NEW ("%-193.193s");
Which I just read the manual and discovered it works in PHP as well.
Basically prints 193 spaces to make sure the line is 255 after I filled
the line with other characters.
On Fri, 8 Feb 2002, Jerry Verhoef (UGBI) wrote:
> Yes there is!
> Try reading the manual?
> http://www.php.net/printf
> printf ("%-5.5s",$fields[14]);
> for the other function to make a line exactly 255 char long? Do you have the
> perl Example?