Learn R Programming

datacheck (version 1.2.2)

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: has_punct; is.oneOf; is.onlyLowers; is.properName; is.withinRange; is_one_of; is_only_lowers; is_proper_name; is_within_range

Examples

Run this code

has_punct(".") == TRUE 

Run the code above in your browser using DataLab