The R Project SVN R

Rev

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

Rev 87299 Rev 87828
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-2024 R Core Team
3
% Copyright 1995-2024=5 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 102... Line 102...
102
  encodings is discouraged, but if still desired one may use
102
  encodings is discouraged, but if still desired one may use
103
  \code{\link{iconv}} to re-encode the result e.g.  to UTF-8 with suitably
103
  \code{\link{iconv}} to re-encode the result e.g.  to UTF-8 with suitably
104
  substituted invalid bytes.
104
  substituted invalid bytes.
105
}
105
}
106
 
106
 
-
 
107
\section{Warning}{
-
 
108
  An all too cmmmon mis-usage is to pass unnamed arguments which are then
-
 
109
  matched to one or more of \code{fixed},
-
 
110
  \code{perl} and \code{useBytes}.  So it is good
-
 
111
  practice to name all  the arguments.
-
 
112
}
-
 
113
 
107
\seealso{
114
\seealso{
108
  \code{\link{paste}} for the reverse,
115
  \code{\link{paste}} for the reverse,
109
  \code{\link{grep}} and \code{\link{sub}} for string search and
116
  \code{\link{grep}} and \code{\link{sub}} for string search and
110
  manipulation; also \code{\link{nchar}}, \code{\link{substr}},
117
  manipulation; also \code{\link{nchar}}, \code{\link{substr}},
111
  \code{\link{startsWith}}, and \code{\link{endsWith}}.
118
  \code{\link{startsWith}}, and \code{\link{endsWith}}.