Add an escape character before double quotation marks: \ "
There are double quotes in the string, how do you say it?
For:
Before double quotes, add backslashes! \"
Example: String at+cscs= "GSM"
expressed as "at+cscs=\" gsm\ ""
--------------------------------------------------------------------------------------------------------------- -------------------------------
Escape character: \ "
The escape character is a special character constant. The escape character begins with a backslash "\" followed by one or several characters. The escape character has a specific meaning, which differs from the original meaning of the character, so it is called an "escape" character. For example, the "\ n" used in the format string of the printf function in the previous examples is an escape character, meaning "carriage return". Escape characters are primarily used to denote control codes that are not easily represented by ordinary characters.
Commonly used escape characters and their meanings
The meaning of escaping character escaping characters
\ nthe carriage return to newline.
\ t jumps horizontally to the next tab position
\v Vertical Jump Lattice
\b Backspace
\ r Enter
\f Paper Change page
\ \ backslash character "\"
\ ' Single-quote character
\a Ringing Bell
\DDD the characters represented by the number of octal digits
\xhh the characters represented by hexadecimal digits