One: Escape character\ r means accept keyboard input, equivalent to press ENTER. \ n indicates a line break. \ t tab, equivalent to Table key\b backspace key, equivalent to back Space\ ' single quotation mark\ ' double quotes\ \ represents a
JS, \ has a special purpose. Backslashes allow us to avoid the usual way of interpreting single quotes, which is simply an apostrophe when the single quote is not used to mark the end of a string:
' You\ ' re right, it cant\ ' be a quote '
MySQL Escape Character "/"
MySQL recognizes the following escape characters:
/0
An ASCII 0 (NUL) character.
/N
A newline character.
/T
A positioning character.
/R
A carriage return.
/B
A return character.
/'
A single quotation mark.
/"
A double
Mysql escape character insertion, query, and display problems, dial RT, usually php + mysql single quotes, "\" symbol insertion generally uses addslashes () method & nbsp; if, insert $ varstr & nbsp ;=& nbsp; test' \. The problem is as follows: 1.
Start and end start symbols of a row: ^ end Symbol: $ for example, ^ cat should be interpreted as C as the first character of a line, followed by a, followed by T
Example: String STR = "catabdcatdetfcat"^ Cat: Verify that the row starts with C
Linux shell Escape Character metacharacter wildcard special character summary, shell escape1. linux shell wildcard (wildcard)
Wildcards are processed by shell (not by the command statements involved, but we have not found any introduction to these
C # Escape characters:• A special character constant;• Start with a backslash "\" followed by one or several characters.• Have a specific meaning, different from the original meaning of the character, it is called "escape" character.• Used primarily
The comment character:1#include 2 intMain ()3 {4 int/*...*/I//int i;5 Char* s ="abcdefgh//hijklmn";//S[]=ABCDEFGH//HIJKLMN; 6 //is it a \7Valid comment?//is it a valid comment? 8 inch/*...*/t i;//In t i; 9 return 0;Ten}Annotation
ArticleDirectory
Constant Escape Character
Constant Escape Character
The following escape characters enable normal characters to indicate different meanings.
Escape characters
Description
/'
Single
MySQL Escape character special characters
RT, usually php+mysql single quotes, "\" symbol insertion generally using addslashes () mode If, now insert $varstr = Test ' \, the problem is as follows:1. With addslashes (), insert after insert in MySQL
Escape character
Significance
ASCII code value (decimal)
\a
Bell (BEL)
007
\b
BACKSPACE (BS) to move the current position to the previous column
008
\f
Page Break (FF),
1. Escape character
\ t: Tab
\ n: Enter
\b: Backspace
\ r: Enter
\ ": Double quotation marks
\ \: Backslash (commonly used in the writing of file paths)
The carriage return character in Windows system is
Commonly used escape characters and meanings
Escape character
Meaning
\ (at end of line)
Line continuation character
\\
Backslash symbol
\‘
Single quotation marks
Escape characterThe escape character is represented by "\". Common escape characters are as follows:1, ' \ n ' carriage return2, ' \ t ' tab character, a 8-10-character jump to the right3, ' \ \ ' means ' \ '4, ' \ ' denotes single quotation marks5,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.