The R Project SVN R

Rev

Rev 84532 | Rev 87299 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 84532 Rev 87291
Line 1... Line 1...
1
% File src/library/base/man/strsplit.Rd
1
% File src/library/base/man/strsplit.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2023 R Core Team
3
% Copyright 1995-2024 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{strsplit}
6
\name{strsplit}
7
\alias{strsplit}
7
\alias{strsplit}
8
\title{Split the Elements of a Character Vector}
8
\title{Split the Elements of a Character Vector}
Line 105... Line 105...
105
}
105
}
106
 
106
 
107
\seealso{
107
\seealso{
108
  \code{\link{paste}} for the reverse,
108
  \code{\link{paste}} for the reverse,
109
  \code{\link{grep}} and \code{\link{sub}} for string search and
109
  \code{\link{grep}} and \code{\link{sub}} for string search and
110
  manipulation; also \code{\link{nchar}}, \code{\link{substr}}.
110
  manipulation; also \code{\link{nchar}}, \code{\link{substr}},
-
 
111
  \code{\link{startsWith}()}, and \code{endsWith()}.
111
 
112
 
112
  \sQuote{\link{regular expression}} for the details of the pattern
113
  \sQuote{\link{regular expression}} for the details of the pattern
113
  specification.
114
  specification.
114
  
115
 
115
  Option \code{PCRE_use_JIT} controls the details when \code{perl = TRUE}.
116
  Option \code{PCRE_use_JIT} controls the details when \code{perl = TRUE}.
116
}
117
}
117
\examples{
118
\examples{
118
noquote(strsplit("A text I want to display with spaces", NULL)[[1]])
119
noquote(strsplit("A text I want to display with spaces", NULL)[[1]])
119
 
120