Newer
Older
\name{removeDuplicatedWord}
\alias{removeDuplicatedWord}
\title{Remove Duplicated Words from Strings}
\usage{
removeDuplicatedWord(strings)
}
\arguments{
\item{strings}{A character vector containing strings with potential duplicated words.}
}
\value{
A character vector with duplicated words removed from each string.
}
\description{
This function takes a vector of strings and removes duplicated words within each string.
}
\examples{
words <- c("hellohello", "worldworld", "programmingprogramming", "R isis great", "duplicateeee1333")