Socrata was acquired by Tyler Technologies in 2018 and is now the Data and Insights division of Tyler. The platform is still powered by the same software formerly known as Socrata but you will see references to Data & Insights going forward.

left_pad

Function: left_pad
  Pad `text` with the minimum number of copies of `pad` to reach `desired_length`.

Examples:

  left_pad('hello', 10, 'x')
  -- Result: "xxxxxhello"

  left_pad('hello', 10, 'xy')
  -- Result: "xyxyxhello"




Signatures
text, number, text -> text