1 Reply Latest reply on May 12, 2018 5:22 PM by Chris McClellan

    How do I perform a Substring function in Tableau?

    andre riley

      Specifically, I want to do the following example below. Forgive the SQL syntax. Essentially I want to return a portion of a given string value, starting at position N, and returning X amount of characters.



      Substr('Forget code',4,3)Substr('Forget code',1,6)Substr('Forget code',8,4)Substr('Forget code',4,8)
      getForgetcodeget code