powered by
idSlug is a convenience function with swapped argument order.
randomSlug(x = 10, id = NULL, chars = c(letters, LETTERS, 0:9))idSlug(id = NULL, x = 10, chars = c(letters, LETTERS, 0:9))
idSlug(id = NULL, x = 10, chars = c(letters, LETTERS, 0:9))
A character value.
Length of slug
If not NULL, prepended to slug (separated with a dash) as id; in that case, it's also braces and a hash is added.
Characters to sample from
randomSlug(); idSlug("identifier");
Run the code above in your browser using DataLab