Programming-Idioms

History of Idiom 214 > diff from v1 to v2

Edit summary for version 2 :
Linked to idiom #156 [Format integer with zero-padding]

Version 1

2019-11-02, 22:01:54

Version 2

2019-11-02, 22:02:31

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.