str-not: Switch case.

Description Usage Arguments Value Examples

Description

For the original man page ?‘+' redirects to, see ’?Logic'.

Usage

1
2
3
4
5
6
7
"!"(x)

## S3 method for class 'character'
!x

## Default S3 method:
!x

Arguments

x

Target string.

Value

String with switch case.

Examples

1
2
3
4
5
6
!"abc"
# [1] "ABC"
!"ABC"
# [1] "abc"
!"aBc"
# [1] "AbC"

bjmt/strops documentation built on May 9, 2019, 4:22 a.m.