path Secure Text
Remove commonly forbidden characters from the passed string, making the resulting String safe to use for files, paths, directories etc. If the passed text ends with a SPACE(  )
or a DOT( . )
, they are also removed.
Replaced/removed are:
/
<
>
:
"
\
|
?
*
#
%
&
{
}
$
!
'
@
+
´
`
=
[
]
Return
The passed String safe for use for files, paths, directories etc.
Author
Griefed
Parameters
text
The text which you want to be made safe.