|
sfcode
An Online Competing and Development Environment
|
Convert a string to a valid safe filename
On Unix-like systems / is reserved and <>:"/\|?* on Windows.
Accepts a filename and returns a valid filename.
Accepts a path and returns the path with a valid filename.
Type: string
Type: string
Default: ‘’!'`
String to use as replacement for reserved filename characters.
Cannot contain: < > : " / \ | ? *
MIT © Sindre Sorhus