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.


Function: trim_leading
  trim characters off the start of a string


  trim_leading('    SOMETHING    ', ' ')
  -- Result: "SOMETHING    "

  trim_leading(',a,b,c,d,', ',')
  -- Result: "a,b,c,d,"

  trim_leading('    SOMETHING    ', 'nope')
  -- Result: "    SOMETHING    "

text, text -> text