/essentials/right-pad

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

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/right-pad