-
Notifications
You must be signed in to change notification settings - Fork 26
PadRight
Shaun Lawrence edited this page Nov 4, 2020
·
1 revision
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.
PadRight(value, length, character)
The value to pad.
Type |
object typically a string is expected but if the value is not a text then ToString is called. |
Required | Yes |
The number of characters to pad by.
Type | int |
Required | Yes |
The character to pad by.
Type |
char or string (with first char taken)
|
Required | Yes |
PadRight("2", 5, "0")
Returns 50000
in this example.
- AddDays
- AddHours
- AddMilliseconds
- AddMinutes
- AddMonths
- AddSeconds
- AddYears
- DayOf
- HourOf
- MillisecondOf
- MinuteOf
- MonthOf
- SecondOf
- YearOf
- DaysBetween
- HoursBetween
- MillisecondsBetween
- MinutesBetween
- SecondsBetween