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? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php