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.


pivottabler documentation built on Oct. 1, 2023, 5:07 p.m.