Learn R Programming

webdeveloper (version 1.0.5)

idParseSuffix: Remove a suffix from an id

Description

Remove a suffix from an id

Usage

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

Value

A vector.

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.

Examples

Run this code
idParseSuffix(idAddSuffix("example", 1))

Run the code above in your browser using DataLab