View source: R/string_parseCamel.R
string_parseCamel | R Documentation |
This function takes a string e.g. "HelloWorld" and returns a regex expression "Hello World" or "Hello[ ]?World
" to allow for flexible string detection.
[ ]: R:%20
string_parseCamel(x, flex_space = FALSE, force_init_capital = FALSE)
x |
the string to parse |
flex_space |
logical. If true, returns [ ]: R:%20 |
force_init_capital |
do you want to force the output to start with a capital letter? default=FALSE |
Other simple text string manipulation functions:
paste_valid()
,
string_capitalize_first()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.