Learn R Programming

webdeveloper (version 1.0.5)

idParsePrefix: Remove a prefix from an id

Description

Remove a prefix from an id

Usage

idParsePrefix(id, split = "X", position = 2)

Value

A vector.

Arguments

id

A string to remove a prefix 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
idParsePrefix(idAddPrefix("example", 1))

Run the code above in your browser using DataLab