make_string_directory_safe
Try to make a string safe for use as a directory (or file) name.
githubArguments
Name | Description | Type |
---|---|---|
x | The string that will be transformed. | string |
Example
x = 'foo + bar / baz'
make_string_directory_safe(x)
// "foo_bar_baz"