Skip to main content
i need to display letters if string contains more than one occurrence . Ex String is 464662352

o/p =4,6,2 because this are more than one occurrence


Hi @madhavarao cherukuri​ ,

 

What should be the output?


Hey @madhavarao cherukuri​,

The approach I would take for this is to loop through each character of the string and use the 'Find' action within the String package. If the 'Find' action finds more than one instance of the character then add it to an output list. Also add a check for duplicates in the output before adding to the output.

 

There are definitely improves that can be made but this was my first thought.


Hi @madhavarao cherukuri​ ,

 

Here is a short workflow I have developed that works:

 

image 

 

image 

Kind Regards,

Ashwin A.K

 


Thanks @Ashwin A.K​ 


Glad I could help!

 

I'd appreciate it if you marked my solution as "Best" so that others facing similar issues may benefit from it as well.

 

Kind Regards,

Ashwin A.K


Reply