# ngoc.truong-torche@xxxxx / 2006-11-06 12:46:14 +0100: > > Hello, > > The following examples don't work > > printf("[%10s]\n", $s); // justification ? droite avec des espaces > printf("[%-10s]\n", $s); // justification ? gauche avec des espaces > > but this one: > > printf("[%'#10s]\n", $s); // utilisation du caract?re personnalisé de > séparation '#' > > is ok (with any separator) it works: roman@dagan ~ 1003:0 > php tmp/scratch [monkey] [ monkey] [monkey ] [0000monkey] [####monkey] [many monke] roman@dagan ~ 1004:0 > > Is it related to French characters set I used for displaying my page ? No, it's related to your browser replacing multiple whitespace characters with a single horizontal space. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php