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.

grapheme_length

Function: grapheme_length
  the length of a piece of text in unicode grapheme clusters.

Examples:

  grapheme_length('hello')
  -- Result: "5"

  grapheme_length("\u00e1") -- composed 'á'
  -- Result: "1"

  grapheme_length("a\u0301") -- decomposed 'á'
  -- Result: "1"




Signatures
text -> number