aboutsummaryrefslogtreecommitdiff
path: root/docs/help/string.html
blob: d7d1e74a34aec1508f5a10251efaaa146d3f3793 (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'>&quot;</span></code>)</a></h1>
<h2 id="str-string"><a class="header" href="#str-string"><code><span class='String'>&quot;str&quot;</span></code>: String</a></h2>
<p><a class="fulldoc" href="../doc/syntax.html#constants">→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'>&quot;string&quot;</span>
'r'

    <span class='Number'>2</span> <span class='Function'></span> <span class='String'>&quot;ab&quot;&quot;cd&quot;</span>
'"'
</pre>