How to access sub string after split

Hello,

I am trying to split a long string using “,” and it worked properly. My string was divided to 3 parts after using split. While debugging I can see String{3} = { Part1
Part2
Part3}

Now I need to access the Part2 string and want to display only that Sub-String. Please provide your inputs. Thanks in advance.

arr = input.split(“,”)
part2string = arr(2)

Can you explain which one you are specifying as substring.

3 Likes

Yes, I tried with this… It worked thank you soo much. If you don’t mind can you please hep me with another query…!!
From inbox I need to collect mails that were of current days only…!! Is there any function for this.

1 Like

Hi ,
Get Mail can be used . Then for each can be used to filter with if condition.

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