Converts the specified string into another string that may be used as a file or directory name (suitable for any file system) as well as a URL path segment.
In particular, the function works as the following:
'-'
, '~'
, '('
, ')'
are replaced with spaces.
'_'
character.
This function is used in some FlexDoc/XML template sets to generate for a given URI the name of a directory in which the documentation files related to that URI are to be stored. For example, for the URI:
http://www.w3.org/2001/XMLSchema
"http_www_w3_org_2001_XMLSchema"