Documentation

Path::SanitizeFileName

Function

string Path::SanitizeFileName(const string&in name)

Sanitizes the given filename and replaces invalid characters with underscores. You may use this for both file names and folder names.

string name

Returns string