NEWBIE_C: centering %s in sprintf

zero@baker.cnw.com
Date: 05/18/96


I added a command and field in the player file so that immortals can set the 
space where levels are displayed for mortals to up to a 12 character long 
string.  It works fine but it is justified at the right of the area where 
the string should go:

code is [ %12s ] and therefore if the string was set to "Coder" it would show
[        Coder ] and id like to get it to say [    Coder    ] etc.

im sure there is a way to do this but i dont know how :P can someone 
please tell me..



This archive was generated by hypermail 2b30 : 12/18/00 PST