Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PadRight Method
Collapse the table of content
Expand the table of content

String.PadRight Method

Returns a new string of a specified length in which the end of the string is padded with spaces or a specified Unicode character.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework PadRight(Int32) Left-aligns the characters in this string, padding with spaces on the right, for a specified total length.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework PadRight(Int32, Char) Left-aligns the characters in this string, padding on the right with a specified Unicode character, for a specified total length.
Top

Community Additions

ADD
Show:
© 2015 Microsoft