File: indexOfNonQuoted.Rd

package info (click to toggle)
r-cran-r.rsp 0.45.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,568 kB
  • sloc: javascript: 612; tcl: 304; sh: 18; makefile: 16
file content (45 lines) | stat: -rw-r--r-- 1,116 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
% 
%  indexOfNonQuoted.R
% 
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\name{indexOfNonQuoted}
\alias{indexOfNonQuoted.default}
\alias{indexOfNonQuoted}

\title{Gets the first index of a string that is not inside a double quoted string}

\description{
 Gets the first index of a string that is not inside a double quoted string.
}

\usage{
\method{indexOfNonQuoted}{default}(str, pattern, ...)
}

\arguments{
  \item{str}{The \code{\link[base]{character}} string to be scanned.}
  \item{pattern}{The \code{\link[base]{character}} string to be searched for.}
  \item{...}{Not used.}
}

\value{
  Returns an \code{\link[base]{integer}} giving the position of (the first character of)
  the search string in the main string.  If not found, -1 is returned.
}

\author{Henrik Bengtsson}

\seealso{
  \code{\link[base]{grep}}().
}




\keyword{programming}
\keyword{utilities}
\keyword{internal}