normalize.str | R Documentation |
normalize a string by removing special characters and replacing whitespaces and dots and afterwards remove all leading and trailing whitespaces and special characters By default, underscore is the replacement character. Avoids consecutive underscores.
normalize.str(x, resolve.camel = FALSE, return.camel = FALSE)
resolve.camel |
Is the string in camelCase and should this be resolved to snake_case? |
return.camel |
should camelCase be outputed rather than undescores? |
a |
string or string vector |
the normalized string(s)
normalize.str("_ (b)lA BLu[bb.blA\tblubb- bla)\n_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.