Programming-Idioms

History of Idiom 214 > diff from v2 to v3

Edit summary for version 3 :
Linked to idiom #215 [Pad string on the left]

Version 2

2019-11-02, 22:02:31

Version 3

2019-11-02, 22:06:00

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.