string addSlashes

(const string &sSource,
  const bool bEscape8Bit=false,
  const string &sEscape="")

Add Slashes to special characters.

Documentation

Add Slashes to special characters. This function adds backslashes to all special characters in the string sSource that needs escaping. If bEscape8Bit is set to true then all characters greater than character number 127 are escaped by backslashes, too. You can define more characters to be escaped in the string sEscape. The function returns the resulting string.

Alphabetic index



This page was generated with the help of DOC++.