Someone could write a PadLeft function

 
string PadLeft(string S, int toLength, string withChar)
{
if (StringLen(S) < toLength)
//return (StringSetChar (withChar, toLength - StringLen(S), 0) + S);
else
return (S);
}
 
Never mind. I have written one myself.

string PadLeft (string S, int toLength)
{
string t = S;
string c = "0";
while(StringLen(t) < toLength)
t = c + t;
return (t);
}