The R Project SVN R

Rev

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

Rev 68948 Rev 72247
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-2015 R Core Team
3
% Copyright 1995-2017 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 87... Line 87...
87
  \code{\link{grep}} and \code{\link{sub}} for string search and
87
  \code{\link{grep}} and \code{\link{sub}} for string search and
88
  manipulation; also \code{\link{nchar}}, \code{\link{substr}}.
88
  manipulation; also \code{\link{nchar}}, \code{\link{substr}}.
89
 
89
 
90
  \sQuote{\link{regular expression}} for the details of the pattern
90
  \sQuote{\link{regular expression}} for the details of the pattern
91
  specification.
91
  specification.
-
 
92
  
-
 
93
  Option \code{PCRE_use_JIT} controls the details when \code{perl = TRUE}.
92
}
94
}
93
\examples{
95
\examples{
94
noquote(strsplit("A text I want to display with spaces", NULL)[[1]])
96
noquote(strsplit("A text I want to display with spaces", NULL)[[1]])
95
 
97
 
96
x <- c(as = "asfef", qu = "qwerty", "yuiop[", "b", "stuff.blah.yech")
98
x <- c(as = "asfef", qu = "qwerty", "yuiop[", "b", "stuff.blah.yech")