printf and unsecable char

[email protected] (Jean-Philippe Battu)
Newsgroups php.db
Organization Le Cyclotourisme Virtuel !
Message-ID <[email protected]>
Hello

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

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 &nbsp; but I can't find a solution

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

Best regards and take care !

-- 
Jean-Philippe Battu
http://jeanpba.homeip.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.