Clean a string to use it within filenames and so.
the string to clean
Optional
optional, separator char
cleaned string
Clean a string to use it within filenames and so.