I need to check a string to see if any word in it has multiple occurences. So basically I will accept:
‘google makes love’
but I don’t accept:
‘google makes google love’ or ‘google makes love love google’ etc.
Any ideas? Really don’t know any way to approach this, any help would be greatly appreciated.
Based on Wicked Flea code: