Description Usage Arguments Examples
View source: R/str_snake_case.R
Function used to convert character vectors to snake case format.
| 1 2 3 4 | str_snake_case(
  string,
  whitespace = getOption("lettercase.whitespace", "[^\\w\\s-\\.]")
)
 | 
| string | object to turn into a title case | 
| whitespace | regular expression pattern to match for white-space 
 | 
| 1 2 3 4 5 6 7 |   str_snake_case( "One Flew Over The Cuckoo's Nest" )
  str_snake_case( "Catch-22" )  # catch_22
  str_snake_case( "Catch.22" )
  str_snake_case( "Catch_22" )
  str_snake_case( "Catch  22" )
  str_snake_case( " Catch 22 " )
  
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.