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.
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.
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,' ')
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,' ')