Logo

Programming-Idioms

History of Idiom 214 > diff from v10 to v11

Edit summary for version 11 by programming-idioms.org:
Linked to idiom #216 [Pad a string in the center]

Version 10

2020-04-15, 21:30:37

Version 11

2020-04-15, 21:30:41

Idiom #214 Pad string on the right

Append extra character c at the end of string s to make sure its length is at least m.
The length is the number of characters, not the number of bytes.

Idiom #214 Pad string on the right

Append extra character c at the end of string s to make sure its length is at least m.
The length is the number of characters, not the number of bytes.