Right (MPI)
From Tapestries MUCK
(Difference between revisions)
Line 1: | Line 1: | ||
- | [[Category:MPI functions]] | + | [[Category:MPI functions]][[Category:MPI String Functions]] |
=right= | =right= | ||
<mpi>{right:string} | <mpi>{right:string} |
Revision as of 16:23, 30 March 2007
right
{right:string} {right:string,fieldwidth} {right:string,fieldwidth,padstring}
Takes a string and pads it to fit the given fieldwidth, with the string right justified.
If no padstring is given, it assumes that it will pad the string with spaces. If no fieldwidth is given, it assumes that the field width is 78 characters. Example:
{right:Hello,10,_.}
would return the string "_._._Hello"