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.

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

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 PadRight(Int32) Returns a new string of a specified length in which the end of the string is padded with spaces or a specified Unicode character.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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

Show: