instr {strings} R Documentation

Returns an integer specifying the start position of the first occurrence of one

Description

string within another.

Usage

instr(strings, substr,
    ignoreCase = FALSE);

Arguments

strings

Required. String expression being searched. [as string]

substr

Required. String expression sought. [as string]

ignoreCase

Optional. Specifies the type of string comparison. If Compare is omitted, the Option Compare setting determines the type of comparison. [as boolean]

envir

[as Environment]

Details

Authors

SMRUCC genomics Institute

Value

If InStr returns String1 is zero length or Nothing0 String2 is zero length or NothingThe starting position for the search, which defaults to the first character position. String2 is not found0 String2 is found within String1Position where match begins

clr value class

Examples


[Package strings version 2.33.856.6961 Index]