Skip to content
The Elk Shell Language
Search
K
Main Navigation
Reference
Standard Library
GitHub
Appearance
GitHub
Menu
Return to top
On this page
Table of Contents for current page
str::padLeft
padLeft(input: String, padding: Integer)
Parameter
Type
Description
input
String
The string to pad.
padding
Integer
The desired total length of the padded string.
Returns
(String) The given input string with spaces added to the left.