escapeChar

Replace a single character with its string representation

Return

the same string or its escaped representation

Parameters

char
  • the char to escape