containsText: Check whether a text value is present in another text value.

View source: R/utilities.R

containsTextR Documentation

Check whether a text value is present in another text value.

Description

containsText is a utility function returns TRUE if one text value is present in another. Case sensitive. If textToSearch is a vector, returns TRUE if any element contains textToFind.

Usage

containsText(textToSearch, textToFind)

Arguments

textToSearch

The value to be searched.

textToFind

The value to find.

Value

TRUE if the textToFind value is found.


cbailiss/pivottabler documentation built on Oct. 14, 2023, 9:38 a.m.