Programming-Idioms

History of Idiom 214 > diff from v3 to v4

Edit summary for version 4 :
New Pascal implementation by user [Bart]

Version 3

2019-11-02, 22:06:00

Version 4

2019-11-03, 13:34:23

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.

Imports
LazUtf8
Code
s := UTF8PadRight(s,m,c);