R: Gets the first index of a string that is not inside a double...

indexOfNonQuoted {R.rsp} | R Documentation

## Gets the first index of a string that is not inside a double qouted string

### Description

Gets the first index of a string that is not inside a double qouted string.

### Usage

    ## Default S3 method:
    indexOfNonQuoted(str, pattern, ...)

### Arguments

`str` | The `character` string to be scanned.
`pattern` | The `character` string to be searched for.
`...` | Not used.

### Value

Returns an `integer` giving the position of (the first character of) the search string in the main string. If not found, -1 is returned.

### Author(s)

Henrik Bengtsson

### See Also

`grep`().

[Package R.rsp version 0.41.0 Index]