printf and unsecable char

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I would like to print a string formatted on the right side and fill in the left side with the unsecable character [ ]

I read in the printf command I could use : printf( "%#30s" , $mystring ) ;
to display $mystring string with the character # before (on the left)

and I try to replace # by   but I can't find a solution

Do you know the solution to write the command: printf( "% 30s" , $mystring ) ;
or something like that !

Best regards and take care !

--
Jean-Philippe Battu
http://jeanpba.homeip.net



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux