powered by
Remove a suffix from an id
idParseSuffix(id, split = "-", position = 1)
A vector.
A string to remove a suffix from.
A string, the separator to use for splitting the id.
A integer vector, the position of the split string to return.
idParseSuffix(idAddSuffix("example", 1))
Run the code above in your browser using DataLab