escape( str )
escape( str, unsafe )
escape( str, unsafe )
Instance Public methods
Args
- str
-
String to make safe
- unsafe
-
Regexp to apply. Defaults to self.regexp
Description
constructs a safe String from str
, removing unsafe characters,
replacing them with codes.
Please login to continue.