Creates leading characters for a string or number