Create your first automation in just a few minutes.Try Studio Web →
by Internal Labs
1
Activity
5.2k
I have deployed this package it worked sucessfully until i put this two text in as input
s1 = 9198WC Implementation of Water Approved by F.C. 239.700 end 2016 end 2019 Contract No. 10/WSD/16 commenced on 23 December 2016.
s2 = account the impact of the COVID-19 pandemic affecting steel fabrication in the Mainland and the delivery of hangar door from the UK. Contract No. 10/WSD/16 commenced on 23 December 2016. Construction of pressure management and district metering installations was completed in October 2020. The project was
i expected there will be
equal part = Contract No. 10/WSD/16 commenced on 23 December 2016.
come out but it didnot, instead it shows the following
DELETE, account the impact of the COVID-19 pandemic affecting steel fabrication in the Mainland and the delivery of hangar door from the UK. Contract No. 10/WSD/16 commenced on 23 December 2016. Construction of pressure management and district metering installations was completed in October 2020. The project was
and
INSERT, 9198WC Implementation of Water Approved by F.C. 239.700 end 2016 end 2019 Contract No. 10/WSD/16 commenced on 23 December 2016.
i tried reserve s1 and s2 but the problem still exists. anything i did wrong?
@22:50pm, i further tried if i reduced the length of s2 = account the impact of the COVID-19 pandemic affecting steel fabrication in the Mainland and the delivery of hangar door from the UK. Contract No. 10/WSD/16 commenced on 23 December 2016. Construction of pressure management and
the result seems working. is there any limit of the variable input to text comparison?
Hi. I Download this activity, and tried it with two simple paragraph.
But I’m a little confused about the output.
This output was a bit confusing, with line breaks in various places.
How do I distinguish deleted lines, new added lines, partial added lines, partial deleted lines, new added blank lines, and deleted lines in text2 from text1?
this is the sample data I used and screenshot.
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
** Input:**
text1.txt:
What Is Robotic Process Automation (RPA)?
Robotic process automation (RPA) occurs when basic tasks are automated through software or hardware systems that function across a variety of applications, just as human workers do.
The software or robot can be taught a workflow with multiple steps and applications, such as taking received forms,
sending a receipt message, checking the form for completeness,
filing the form in a folder, and updating a spreadsheet with the name of the form, the date filed, and so on. RPA software is designed to reduce the burden for employees of completing repetitive, simple tasks.
text2.txt:
What Is Robotic Process Automation (RPA)?
(RPA) occurs when basic tasks are automated through software or hardware systems that function across a variety of applications, 部分挿入行1just as human workers do.
The software or robot can be taught a workflow with multiple steps and applications, such as taking received forms,
filing the form in a folder, and updating a spreadsheet with the name of the form, the date filed, and so on. RPA software is designed to reduce the burden for employees of completing repetitive, simple tasks.部分挿入行2
挿入行
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
output:
[EQUAL, What Is Robotic Process Automation (RPA)?
]
[DELETE, Robotic process automation]
[INSERT,
]
[EQUAL, (RPA) occurs when basic tasks are automated through software or hardware systems that function across a variety of applications, ]
[INSERT, 部分挿入行1]
[EQUAL, just as human workers do.
]
[INSERT,
]
[EQUAL, The software or robot can be taught a workflow with multiple steps and applications, such as taking received forms,
]
[DELETE, sending a receipt message, checking the form for completeness,]
[EQUAL,
filing the form in a folder, and updating a spreadsheet with the name of the form, the date filed, and so on. RPA software is designed to reduce the burden for employees of completing repetitive, simple tasks.]
[INSERT, 部分挿入行2
挿入行]
I don't see compare text activity what package do i need to install.
Hi Arun,
The package should be on the Marketplace feed from Studio-> Package Manager
https://docs.uipath.com/studio/docs/managing-activities-packages
Make sure it's added and you have it checked.
Also you can download the nupkg file from here.
Thanks,
Razvan
Hi,
Can you check download link of this web page? because size of the nupkg file is zero. I suppose you might need to re-upload the component or raise problem report to Connect support team.
Regards,
Hi Yoichi,
Thanks for raising this. I re-upload the component. Soon will be available from the Download button.
For the moment, you can use it directly from UiPath Studio.
Package Manager -> Settings -> Click Add and fill in the source field: https://gallery.uipath.com/api/v2
Regards,
Razvan
Hi Razvan,
do you have a video of this text compare ?
Thanks
Hi Ajit,
Unfortunately there is no official video of the component. The usage of this component is pretty simple so feel free to download it and try it out.
If you have any challanges don't hesitate to reach out.
Best regards,
Razvan
Hi Razvan,
string1 = "Hello"
string2 = "Hello"
what should be the parameters for List<KeyValuePair> ?
Thanks
Hello!
In the output section, hit ctrl+k in order to create a List<KeyValuePair> variable type.
Then you can use a For Each loop to iterate through KeyValuePair
Thanks,
Razvan
Hi Razvan,
Just wanted to check whether there is a maximum page limit for this? Would it be able to compare medium - large documents as well?
Hello!
Personally I tested this component on documents with up to 33 pages and it worked fine. It shouldn't be any limitation but feel free to download it and push this component to the limit with your documents.
I'm looking forward for your feedback!
Thanks,
Razvan
Technical
Version
2.1.0Updated
March 27, 2023Works with
Studio: 22.10+
Certification
Silver Certified
Tags
Support
UiPath Community Support