> For the complete documentation index, see [llms.txt](https://emacs-lisp.ivory.cafe/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://emacs-lisp.ivory.cafe/lisp-shu-ju-lei-xing/bian-cheng-lei-xing/2.4.8-zi-fu-chuan-lei-xing/2.4.8.1-zi-fu-chuan-de-yu-fa.md).

# 2.4.8.1 字符串的语法

字符串的读取语法是一个双引号，加上任意数量的字符，再用一个双引号收尾。 " 比如这个 "（ "like this"）。如果想在字符串内包含双引号本号，那么你需要加上反斜杠进行转义。比如 "\\"" 就是一个只包含一个双引号的字符串。类似的，如果你想再字符串内包含反斜杠，那你就得用另一个反斜杠去对反斜杠转义，比如：" this \\\ is a single embedded backslash" 。

在字符串中会经常出现新行，不过这个新行符并不需要转义，直接换新行即可，Emcas 会自动处理。但是转义新行符，也就是在反斜杠 '\\' 之后直接转新行，这种新行符会被忽略掉。同样，转义空格也会被忽略掉。

```
"It is useful to include newlines
in documentation strings,
but the newline is \
ignored if escaped."
     ⇒ "It is useful to include newlines
in documentation strings,
but the newline is ignored if escaped."
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://emacs-lisp.ivory.cafe/lisp-shu-ju-lei-xing/bian-cheng-lei-xing/2.4.8-zi-fu-chuan-lei-xing/2.4.8.1-zi-fu-chuan-de-yu-fa.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
