Skip to content

soatok/left-pad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

left-pad

Build Status

Left pad a string.

Usage

var_dump(left_pad('foo', 5));
# string(5) "  foo"

(By @SoatokDhole)