Hi,
I have developed a package to make easy the text file format utilities.
It is a package to handle the automation for Txt,Csv,Xml ,Json and TextFormat File
This package has many activities to handle the text format files like Txt,Csv,Xml ,Json and TextFormat File. The activities are to handle insert,update,delete and other operation.
TextScope - It is a scope activity.It keeps only the file path. It doesn’t keep the text file resource.
DeleteAt - Delete the line at specific line
Find & Replace All - Find and replace in entire file.
FindReplaceAt - Find and replace the text in a specific from and to line (if doesn’t know the To line , can mention the -1)
Find Text - Find the text position
FindLineIndex - Find the text and return the line indexes.
Insert Line At - Insert the line in specific line index
Line Count - Return the total line counts
Read Specific Line - Read the lines in the specific line index From and To (if doesn’t know the To line , can mention the -1)
Remove Empty Line - It removes all the empty lines.
Note :
The line index starts from zero.
Screens:
https://go.uipath.com/component/text-format-file-utility
Sample Project.EasyText.zip (18.4 KB)
Regards
Balamurugan.S