aboutsummaryrefslogtreecommitdiff
path: root/docs/help/string.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-01 21:38:15 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-01 21:38:15 -0400
commitb813f80bbe1e9249f312a153f9316f3aa2894660 (patch)
tree52a2c545c5e8810ae3e08c78e2b33b5b67c4d1d8 /docs/help/string.html
parent6725dc97c14ae87f7bfac650ad96edb759340aa2 (diff)
Add help pages and keybar entries for quote characters
Diffstat (limited to 'docs/help/string.html')
-rw-r--r--docs/help/string.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/help/string.html b/docs/help/string.html
new file mode 100644
index 00000000..d7d1e74a
--- /dev/null
+++ b/docs/help/string.html
@@ -0,0 +1,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>