func.lpad

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

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 November 27, 2023 at 12:56 PM EST: Restructured the file structure/a few changes (f6c58b8)