func.lpad

LPAD function pads the left-side of a string with a specific set of characters (when string1 is not null).

Syntax

func.lpad(value_string, force_length, fill_string)

Examples

func.lpad('stringtofillup', 20, 'X') --> XXXXXXstringtofillup  
func.lpad('stringtofillup', 10, 'X') --> stringtofi
Last modified April 06, 2022 at 10:08 AM EST: Initial Documentation Commit (371ae8f)