Read text


Hi, I need to read the highlighted data in the text attached that is after keyword XYZ , given that there could be 2 or more than 2 XYZ existing in the data, I need to always read the data/digits that is after the last occuring XYZ in the entire data. Can someone help please…


Hi @Abhishek106,

Hope this could help you

A simple solution could be use the method lastIndexOf yourString.LastIndexOf(“XYZ”) and then get the text with the substring method yourString.Substring(lastIndex+3,d.Length-(lastIndex+3))

Best regards,

Hi @Susana, Request to pls elaborate this, does this mean I need to use- Index of string activity? or should I use assign activity? …Request to Please explain


Use assign activity and then try above @Susana solution