find_in_string: Find a vector of strings/numbers in a single string.

Description Usage Arguments Details Value Examples

View source: R/find_in_string.R

Description

find_in_string returns the sum of all the values present in its arguments.

Usage

1

Arguments

b

numeric or character vector, which includes all the elements you are looking for.

a

the string to be searched

Details

searches for all elements of vector b in string a, and returns true/false depending on whether or not all the elements in b can also be found in a, regardless of order.

Value

boolean. True or False

Examples

1
2
3
4
5
b<-c("i", "x", "v")
a<-"ix"
c <-"vix"
find_in_string(b,a)
find_in_string(b,c)

gdaher/invector documentation built on Nov. 18, 2017, 1:02 p.m.