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
.NET Framework (current version)
Returns a new string of a specified length in which the end of the current string is padded with spaces or with a specified Unicode character.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | PadRight(Int32) | Returns a new string that left-aligns the characters in this string by padding them with spaces on the right, for a specified total length. |
![]() | PadRight(Int32, Char) | Returns a new string that left-aligns the characters in this string by padding them on the right with a specified Unicode character, for a specified total length. |
Show:
