Description Usage Arguments Value Examples
This function parses a string to a format easier to use in filenames by removing spaces and replacing with a symbol like "-" and converting all letters to lowercase and removing special symbols.
1 | strToFileName(s, sep = "-")
|
s |
string parameter to convert to (string) |
sep |
optional parameter, symbol to separate words by, default is "-" (string) |
returns a parsed string formatted better for filenames
1 | strToFileName(s = "This is an example FiLeNme with# (symbols >=4) to remove")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.