I can't figure out how to do this at all.... hopeing someone could help.
I have a string containing groups of two charactors. For the sake of this article they can be random:
"bh oj wh qx"
The string varies in length, ie in number of groups, but always has at least 2 and no more than 6 groups.
I need to search this string to see if ANY group of charactors occues twice. For instance:
"aj df qw xa df"
So in pseudocode, I figure I can do something like this:
I've been unable to find any functions on google that tell me if a string contains a groups of chars like this.Code:For each group in string check with all other groups in that string to see if its equal
An help woud be highly apreiciated.