\HeaderA{subXString}{Fast substring extraction}{subXString}
\aliasA{subBString}{subXString}{subBString}
\aliasA{substr,MaskedXString-method}{subXString}{substr,MaskedXString.Rdash.method}
\aliasA{substr,XString-method}{subXString}{substr,XString.Rdash.method}
\aliasA{substring,MaskedXString-method}{subXString}{substring,MaskedXString.Rdash.method}
\aliasA{substring,XString-method}{subXString}{substring,XString.Rdash.method}
\keyword{methods}{subXString}
\keyword{manip}{subXString}
\begin{Description}\relax
Functions for fast substring extraction.
\end{Description}
\begin{Usage}
\begin{verbatim}
  subXString(x, start=NA, end=NA, length=NA)
  ## S4 method for signature 'XString':
  substr(x, start=NA, stop=NA)
  ## S4 method for signature 'XString':
  substring(text, first=NA, last=NA)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] An \LinkA{XString}{XString} object for \code{subXString}.
A character vector, an \LinkA{XStringViews}{XStringViews}, \LinkA{XString}{XString},
or \LinkA{MaskedXString}{MaskedXString} object for \code{substr} or \code{substring}.

\item[\code{start}] A numeric vector.

\item[\code{end}] A numeric vector.

\item[\code{length}] A numeric vector.

\item[\code{stop}] A numeric vector.

\item[\code{text}] A character vector, an \LinkA{XStringViews}{XStringViews} or an \LinkA{XString}{XString}
object.

\item[\code{first}] A numeric vector.

\item[\code{last}] A numeric vector.

\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\code{subXString} is deprecated in favor of
\code{\LinkA{subseq}{subseq}}.
\end{Details}
\begin{Value}
An \LinkA{XString}{XString} object of the same base type as \code{x} for
\code{subXString}.

A character vector for \code{substr} and \code{substring}.
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{subseq}{subseq}},
\code{\LinkA{letter}{letter}},
\LinkA{XString-class}{XString.Rdash.class},
\LinkA{XStringViews-class}{XStringViews.Rdash.class}
\end{SeeAlso}

