How to find index of the words

Hello @Kuldeep_Pandey

Hope you are trying to get the file names of the attachment. So you need to loop through the email attachment names and then use the string manipulation to get the names. To get the names you can do as below.

Split(attachment.Name,“-”)(2)

where attachment.name gives you the names of attachment in the loop.

Thanks