Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

String.PadRight Method

Left-aligns the characters in this string, padding on the right with spaces or a specified Unicode character, for a specified total length.

Name Description
String.PadRight (Int32) Left-aligns the characters in this string, padding with spaces on the right, for a specified total length.

Supported by the .NET Compact Framework.

String.PadRight (Int32, Char) Left-aligns the characters in this string, padding on the right with a specified Unicode character, for a specified total length.

Supported by the .NET Compact Framework.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft