Arguments
- x
string containing special characters to be substituted
Value
input string x with special characters being substituted by
a meaningful represenation or underscore, multiple underscores replaced
by a single underscore and multiple underscores at the end removed.