soatok/left-pad

Left pad a string to a fixed length

v1.0.0 2016-04-08 19:36 UTC

This package is auto-updated.

Last update: 2020-10-24 23:20:43 UTC


README

Build Status

Left pad a string.

Usage

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

(By @SoatokDhole)