Learn R Programming

webdeveloper (version 1.0.0)

idParseSuffix: Remove a suffix from an id

Description

Remove a suffix from an id

Usage

idParseSuffix(id, split = "-", position = 1)

Arguments

id

A string to remove a suffix from.

split

A string, the separator to use for splitting the id.

position

A integer vector, the position of the split string to return.

Value

A vector.

Examples

Run this code
# NOT RUN {
idParseSuffix(idAddSuffix("example", 1))
# }

Run the code above in your browser using DataLab