blob: 18a6db4f5da7492f66e29eee2a27ac4e0428e117 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<head>
<link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../style.css" rel="stylesheet"/>
<title>BQN: Double Quote (")</title>
</head>
<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
<h1 id="double-quote-"><a class="header" href="#double-quote-">Double Quote (<code><span class='String'>"</span></code>)</a></h1>
<h2 id="str-string"><a class="header" href="#str-string"><code><span class='String'>"str"</span></code>: String</a></h2>
<p><a class="fulldoc" href="../doc/token.html#characters-and-strings">→full documentation</a></p>
<p>Literal notation for a string, or list of characters. Double quotes must be escaped by writing them twice. Any other characters can be included directly.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=MiDiipEgInN0cmluZyIKCjIg4oqRICJhYiIiY2Qi">↗️</a><pre> <span class='Number'>2</span> <span class='Function'>⊑</span> <span class='String'>"string"</span>
'r'
<span class='Number'>2</span> <span class='Function'>⊑</span> <span class='String'>"ab""cd"</span>
'"'
</pre>
|