UiPath Community Forum
How to remove duplicate values within a string variable
Help
data_manipulation
,
string
,
activities
,
question
lakshman
(Ganta lakshman)
November 18, 2019, 6:31pm
2
@Ashish_Mehra
Try this.
yourString.Split(Environment.NewLine.TocharArray).Distinct().Toarray()
1 Like
How to count duplicate strings in an array
show post in topic
Related Topics
Topic
Replies
Views
Activity
How to Array to contain array
Help
9
1469
August 26, 2019
I have one string eg str="Shradha,Aparna,Aparna" So I dont want the duplicate name how I can remove it
Studio
studio
,
question
,
activities_panel
3
566
July 20, 2022
Remove duplicates from text file
Help
uiautomation
,
activities
17
2105
November 2, 2020
Deduplication of 2d array
Activities
database
,
array
3
938
April 7, 2022
How to add multiple values of one variable in a single cell? the existing variable is in for each loop
Studio
excel
,
studio
,
question
,
activities_panel
8
842
March 13, 2023
Sign Up
Log In
Log In using your UiPath Account to:
• get help with your automation projects
• share feedback, report bugs or just drop
us any question
• become an MVP and get access to
exclusive events
• save your user preferences like themes
and more
• automatically sign in to other services
• get in touch with our Forum staff
Most Active Users - Yesterday
ashokkarale
MD_Farhan1
Ajay_Mishra
postwick
Dheerendra_vishwakarma
Anil_G
chandreshsinh.jadeja
Gautham_Pattabiraman
vrdabberu
aravindbalineni123
More details...