Remove Everything Before the Colon in a Character Vector
Source:R/simplify_utilities.R
remove_config_names.RdThis function removes everything before the first
colon (including the colon) in a character vector.
It is used as a helper function for simplify_idaifield().
Usage
remove_config_names(
conf_names = c("identifier", "configname:test", "test"),
silent = FALSE
)Value
The same character vector with everything before the first colon (including the colon) removed.
See also
This function is used by:
simplify_idaifield(),get_field_index()andget_uid_list()
Examples
if (FALSE) { # \dontrun{
nameslist <- c("relation.liesWithin", "relation.liesWithinLayer",
"campaign.2022", "rtest:test", "pergamon:neuesFeld")
remove_config_names(nameslist, silent = FALSE)
} # }