Make String an Array and then get the 2nd array value

We have a single input field that many values get entered into. Always the same way. I need to get the 2nd 3rd and 5th value from the array. They are separated by a space between each value. I have tried multiple attemps and without success.

Parents
  • to make the string to array you can use

    !strAttribute = !!ce.attributename

    !arrArray = !strAttribute.split()

    or you may use

    !strAttribute = !!ce.attributename

    !strValueSecond =  !strAttribute.part(2,' ')

    !strValueThird =  !strAttribute.part(3,' ')

    !strValueFifth =  !strAttribute.part(5,' ')

Reply
  • to make the string to array you can use

    !strAttribute = !!ce.attributename

    !arrArray = !strAttribute.split()

    or you may use

    !strAttribute = !!ce.attributename

    !strValueSecond =  !strAttribute.part(2,' ')

    !strValueThird =  !strAttribute.part(3,' ')

    !strValueFifth =  !strAttribute.part(5,' ')

Children
No Data