# `'` `"` — Character and string literals

`'c'` is one character. `"text"` is a string, a vector of characters of any length. `''` and `""` are the empty string.

```bpl
ρ'a'               ⍝ ⍬ₓ
ρ"a"               ⍝ [1]ₓ
ρ""                ⍝ [0]ₓ
```

`'''` is the apostrophe character. Inside a string, an apostrophe needs no escaping, and a double quote is written twice.

```bpl
•ucs '''           ⍝ 39ₓ
≢"say ""hi"""      ⍝ 8ₓ
```

Literals separated by spaces form one vector: `'a' 'b'` is `"ab"`, and `"aa" "bb"` is a vector of two strings. See [Characters and strings](../strings.md).

## Errors

- `SYNTAX`: single quotes around more than one character, an unclosed literal
