\HeaderA{removeExt}{Remove Common Extension from File Names}{removeExt}
\keyword{character}{removeExt}
\keyword{file}{removeExt}
\begin{Description}\relax
Finds and removes any common extension from a vector of file names.
\end{Description}
\begin{Usage}
\begin{verbatim}
removeExt(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] character vector
\end{ldescription}
\end{Arguments}
\begin{Value}
A character vector of the same length as \code{x} in which any common extension has been stripped off.
\end{Value}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
An overview of LIMMA functions for reading data is given in \LinkA{03.ReadingData}{03.ReadingData}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
x <- c("slide1.spot","slide2.spot","slide3.spot")
removeExt(x)
\end{ExampleCode}
\end{Examples}

