idParseSuffix: Remove a suffix from an id

View source: R/webdeveloper.R

idParseSuffixR Documentation

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

idParseSuffix(idAddSuffix("example", 1))

webdeveloper documentation built on Oct. 18, 2022, 9:06 a.m.