Hi @Palaniyappan , sorry for bothering you again but I am reading those input texts from email and this is how those texts looks like when seen in output after writing through writeline,
Text1 - \t\tBRS2MARKIT_Decode.20190506.XML\t5446782 bytes\r\n5/6/2019, 10
Text2 - \t\tBRS2MARKIT_IndexWeights.20190503.tar.gz\t75060 bytes\r\n5/6/2019, 7
Text3 - \t\tBRS2MARKIT_IndexWeights.20190707.tar.gz.csv\t75060 bytes\r\n5/6/2019, 7
I have attached the snapshot from output as well where I have highlighted these texts. I want to retrive the highlighted portion of the text. I would be great if you could help me with same. Or you can help me with finding the last position on Dot “.” so that I can do substring on it with length as 3 more than last postion of Dot. For example,
TextToBeRetrieved = InText.Substring(0, LastIndexOfDot + 3).