File: addSlashes.html

package info (click to toggle)
strutilsxx 0.7.1-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,196 kB
  • ctags: 53
  • sloc: sh: 6,887; cpp: 367; makefile: 79
file content (26 lines) | stat: -rw-r--r-- 1,085 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE>string addSlashes</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">

<H2>string <A HREF="#DOC.DOCU">addSlashes</A></H2><H2>(const string &amp;sSource,<BR>&nbsp; const bool bEscape8Bit=false,<BR>&nbsp; const string &amp;sEscape="")</H2><BLOCKQUOTE>Add Slashes to special characters.</BLOCKQUOTE>

<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Add Slashes to special characters.
This function adds backslashes to all special characters in the
string <b>sSource</b> that needs escaping. If <b>bEscape8Bit</b> is
set to <i>true</i> then all characters greater than character number 127
are escaped by backslashes, too. You can define more characters to be
escaped in the string <b>sEscape</b>. The function returns the 
resulting string.</BLOCKQUOTE>
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>