hasSpecialCharacters {r2shortcode} | R Documentation |
Does string have special characters?
Description
Evaluates if a specified string contains special characters
Usage
hasSpecialCharacters(string)
Arguments
string |
The string to evaluate |
Value
TRUE or FALSE
Examples
strToTest1 <- 'obi_%_good_^you'
strToTest2 <- 'obigoodyou'
hasSpecialCharacters(strToTest1)
hasSpecialCharacters(strToTest2)
[Package r2shortcode version 0.2 Index]