5 ms·
Which programming language are you using that has left-pads functionality in the standard library?
by Thiez 9y ago
Which programming language are you using that has left-pads functionality in the standard library?
- mort96 9y agoWell, python's strings have the ljust and rjust methods which left- and right-pad, and javascript has the padStart and padEnd methods (since ECMAScript 2017).
- scarface74 9y ago.Net https://msdn.microsoft.com/en-us/library/system.string.padleft(v=vs.110).aspx https://msdn.microsoft.com/en-us/library/system.string.padle...