str-minus: Substract part of a string.

Description Usage Arguments Value Examples

Description

For the original man page ?‘-' redirects to, see ’?Arithmetic'.

Usage

1
2
3
4
5
6
7
"-"(e1, e2)

## Default S3 method:
e1 - e2

## S3 method for class 'character'
e1 - e2

Arguments

e1

Target string.

e2

String to substract.

Value

Modified e1 string.

Examples

1
2
"ABC" - "B"
# [1] "AC"

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