Reading Substrings in a String

Hello,

I am trying to read substrings from a string in a loop after a certain character. After the certain character I would read the substring and then if that character appears again then read the substring after that character.

Example
Character to read after ;

Apples;Oranges;Peaches;Mangos,Grapes

So in this case I would first read Apples then Oranges and then Peaches and so on. How could I achieve this?

Thank you in advance for your help!

Hi @Sahil_J_Patel
can u try the way of splitting the string data

and then store in array data, then read each value via a loop

1 Like

use split(your full string,";") and assign it to array variable
use for each item in array variable
get it like string= array variable ( loop value)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.