Builds a text-match operator for use with text filter attribute functions such as
lotNumber, stopReason, uniqueDeviceId.
stringContains(x)
# S4 method for character
stringContains(x)Character substring to match.
An opAttributeCharacter for use inside text attribute functions.
# Drug exposures where lot number contains "LOT"
drugExposure(cs(1L, name = "drug"), lotNumber(stringContains("LOT")))
#> <Capr DrugExposure Query> drug