in reply to Re^2: How do you find duplicates in a string?
in thread How do you find duplicates in a string?
Sorry guys, my mistake.
What I want is only to know if the string has something more than one times.
I understand that you split the string using tab as delimiter, but what must I do to check if the array that is produced and contains all elements of the string has any duplicates in it? Just that, I don't want to know what the dulicates are, I only want to know if there are any...
What I want is only to know if the string has something more than one times.
I understand that you split the string using tab as delimiter, but what must I do to check if the array that is produced and contains all elements of the string has any duplicates in it? Just that, I don't want to know what the dulicates are, I only want to know if there are any...
In Section
Seekers of Perl Wisdom