SplitItem to String

0
I am using community commons to split a string that I have and it returns a List of SplitItems. When I convert an item in the List of SplitItems to String it tells me I cannot do it. How do I convert from SplitItem to String?
asked
1 answers
1

The action returns a list of objects in the non persistent entity splititems.

This entity has 2 attributes, index and value. The value holds the string that you are looking for.

So splitting a string like A,B will result in 2 records in a list of splititems:

  1. index 0, value A
  2. index 1, value B

 

to access the data add a loop with the splititems list as input and work with the $iteratorsplititmes/value in the loop to access the string value.

answered