library(dplyr)library(stringr) ! str_detect("THE QUEEN’S HAND", "[[:lower:]]")! str_detect("##45$&%&3#", "[[:lower:]]")! str_detect("THE QUEEN’s HAND\n", "[[:lower:]]")! str_detect("aa", "[[:lower:]]")
Standard input is empty
[1] TRUE [1] TRUE [1] FALSE [1] FALSE
Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!