Learn R Programming

datacheck (version 0.9.6)

has.punct: Tests for presence of most common punctuation characters

Description

These include: .?'!_#$^&*()+=<>,;' - and [tab] and [at]

Usage

has.punct(s)

Arguments

s
a character string

Value

  • boolean TRUE if detects anything

See Also

Other rule_checks: is.oneOf, is.onlyLowers, is.properName, is.withinRange

Examples

Run this code
has.punct(".") == TRUE

Run the code above in your browser using DataLab