FIND: Basic FIND function from excel

Description Usage Arguments Value Examples

View source: R/FIND.R

Description

It acts similiarly to Excel's FIND function. It finds the starting point of the string where it matches your find_text value.

Usage

1
FIND(find_text, within_text)

Arguments

find_text

Find the text in the text.

within_text

Where should the function find the text.

Value

in this example we try to find on which place does CRAN start. Function will always return numeric class.

Examples

1
FIND("CRAN","I LOVE CRAN")

Example output

[1] 8

ExcelFunctionsR documentation built on July 1, 2020, 8:35 p.m.