Well this is what it does:
Right-aligns the characters in this instance, padding on the left with spaces or a specified Unicode character for a specified total length.
Overload List
Right-aligns the characters in this instance, padding with spaces on the left for a specified total length.
[C#] public string PadLeft(int);
[C#] public string PadLeft(int, char);
and the other side for padRight. So you can pad on the left. You can also pad on the right. Humm... i'm getting an idea.... So you can pad on the left and you can pad on the right, and.... humm... well I give up, I thought i had it =D. Oh I know!!! You create a method called padCenter, and do what you need in there!! Not sure how to implement it though ;). I guess Microsoft can't think of EVERYTHING for us, darn! Makes us do actually coding.
I'm just kidding, all in good fun. Sometimes the hardest thing to see, are the things right in front of us. Happens to the best of us.
RAyRAy
Huh O i C
Program or Be Programmed!!!
|