Method: f::safe_name
Sanitize a filename to strip unwanted special characters
Info
Syntax
f::safe_name($string)
Parameters
- $string (string) The file name
Return (string)
Example
$safe = f::safe_name('über genious.txt');
// safe will be ueber-genious.txt