You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferStdlib__Escape (InferStdlib.InferStdlib__Escape)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> – <a href="../index.html">InferStdlib</a> » InferStdlib__Escape</nav><h1>Module <code>InferStdlib__Escape</code></h1><p>Escape a string for use in a CSV or XML file: replace reserved characters with escape sequences</p></header><dl><dt class="spec value" id="val-escape_dotty"><a href="#val-escape_dotty" class="anchor"></a><code><span class="keyword">val</span> escape_dotty : string <span>-></span> string</code></dt><dd><p>escape a string to be used in a dotty file</p></dd></dl><dl><dt class="spec value" id="val-escape_csv"><a href="#val-escape_csv" class="anchor"></a><code><span class="keyword">val</span> escape_csv : string <span>-></span> string</code></dt><dd><p>escape a string to be used in a csv file</p></dd></dl><dl><dt class="spec value" id="val-escape_path"><a href="#val-escape_path" class="anchor"></a><code><span class="keyword">val</span> escape_path : string <span>-></span> string</code></dt><dd><p>escape a path replacing the directory separator with an underscore</p></dd></dl><dl><dt class="spec value" id="val-escape_xml"><a href="#val-escape_xml" class="anchor"></a><code><span class="keyword">val</span> escape_xml : string <span>-></span> string</code></dt><dd><p>escape a string to be used in an xml file</p></dd></dl><dl><dt class="spec value" id="val-escape_url"><a href="#val-escape_url" class="anchor"></a><code><span class="keyword">val</span> escape_url : string <span>-></span> string</code></dt><dt class="spec value" id="val-escape_filename"><a href="#val-escape_filename" class="anchor"></a><code><span class="keyword">val</span> escape_filename : string <span>-></span> string</code></dt><dd><p>escape a string to be used as a file name</p></dd></dl><dl><dt class="spec value" id="val-escape_json"><a href="#val-escape_json" class="anchor"></a><code><span class="keyword">val</span> escape_json : string <span>-></span> string</code></dt><dd><p>escape characters in the string so it becomes a valid JSON string</p></dd></dl><dl><dt class="spec value" id="val-escape_double_quotes"><a href="#val-escape_double_quotes" class="anchor"></a><code><span class="keyword">val</span> escape_double_quotes : string <span>-></span> string</code></dt><dd><p>replaces double-quote with backslash double-quote</p></dd></dl><dl><dt class="spec value" id="val-escape_in_single_quotes"><a href="#val-escape_in_single_quotes" class="anchor"></a><code><span class="keyword">val</span> escape_in_single_quotes : string <span>-></span> string</code></dt><dd><p>put the string inside single quotes and escape the single quotes within that string</p></dd></dl><dl><dt class="spec value" id="val-escape_shell"><a href="#val-escape_shell" class="anchor"></a><code><span class="keyword">val</span> escape_shell : string <span>-></span> string</code></dt><dd><p>escape the string so it can be passed to the shell without remorse</p></dd></dl></div></body></html>
|