Left (MPI)
From Tapestries MUCK
(Difference between revisions)
m (MPI left moved to Left (MPI)) |
|||
(One intermediate revision not shown) | |||
Line 1: | Line 1: | ||
- | [[Category: | + | [[Category:functions (MPI)]][[Category:String Functions (MPI)]] |
=left= | =left= | ||
<mpi>{left:string} | <mpi>{left:string} |
Latest revision as of 01:39, 31 March 2007
left
{left:string} {left:string,fieldwidth} {left:string,fieldwidth,padstring}
Takes a string and pads it to fit the given fieldwidth, with the string left 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:
{left:Hello,10,_.}
would return the string "Hello_._._"