/essentials/left-pad

Pad a string to a certain length by adding characters to the beginning.

Parameters:
str - string to pad
len - length to pad to
ch - character to pad with

Response:
{ padded: " string" }

Try it out!

$ curl https://jsnoxious.com/api/essentials/left-pad