Remove Duplicated Words from Strings
removeDuplicatedWord.Rd
This function takes a vector of strings and removes duplicated words within each string.
Examples
words <- c("hellohello", "worldworld", "programmingprogramming", "R isis great", "duplicateeee1333")
cleaned_words <- removeDuplicatedWord(words)