powered by
Convert a string to a safe filename
strToFilename(str, ext = NULL)
The string, processed to remove potentially problematic characters.
The string to convert.
Optionally, an extension to append.
strToFilename("this contains: illegal characters, spaces, et cetera.");
Run the code above in your browser using DataLab