121
Views
2
Comments
Solved
Text to List

I created a screen TextLIst then i declare a variable called var data type is Text . and default value is 1 2 3 4 5 . can I convert the text 1 2 3 4 5  into a List?? and return the list  1 2 3 4 5 in the screen If yes How?

2024-05-22 06-12-56
Vignesh Prakash
Solution

Hi @Nilaj Chakraborty

Store the value with a delimiter eg: "1,2,3..." and using string split you can split the string and can use them as a list.

NOTE: You can also use space between the text as delimiters.

please refer the OML attached.

Thanks,
Vignesh Prakash.

String_Split.oml
2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

To add to what Vignesh correctly wrote, you can also use a space  " " as delimiter.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.