I have line ‘pythonpythonpyth’. How do I know which word is the foundation line?.
Other examples:
“hellohellohellohello” –> hello
“DOLORIUMD” –> DOLORIUM
“HELLOL” –> HELLOL
“thewordword” –> thewordword
I need to know whether the word in the text is repeated and get it. This will be the key.