8 Replies Latest reply on Oct 23, 2017 8:11 AM by Phillip Wild

    Velocity - Splitting a string into an array

    Phillip Wild

      Hey everyone

       

      How would I take a field with values separated by backslashes "/" and split it into an array that I specify? I don't think .split will do the job - something like parseStringDelimiter or $convert.toString , or perhaps a combination!

       

      Any ideas? My data looks like this:

       

      ABCD/GIST/SPIT

       

      Thanks in advance!