mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 10:49:43 +00:00
29 lines
822 B
Plaintext
29 lines
822 B
Plaintext
caption: stringify
|
|
created: 20161017153038029
|
|
modified: 20171029155143797
|
|
op-input: a [[selection of titles|Title Selection]]
|
|
op-output: the input with ~JavaScript string encodings applied
|
|
op-parameter:
|
|
op-parameter-name:
|
|
op-purpose: apply ~JavaScript string encoding to a string
|
|
tags: [[Filter Operators]] [[String Operators]]
|
|
title: stringify Operator
|
|
type: text/vnd.tiddlywiki
|
|
from-version: 5.1.14
|
|
|
|
The following substitutions are made:
|
|
|
|
|!Character |!Replacement |
|
|
|`\` |`\\` |
|
|
|`"` |`\\` |
|
|
|`\r` (carriage return) |`\\r` |
|
|
|`\n` (line feed) |`\\n` |
|
|
|`\x08` (backspace) |`\\b` |
|
|
|`\x0c` (form feed) |`\\f` |
|
|
|`\t` (tab) |`\\t` |
|
|
|Characters from 0x00 to 0x1f and characters from 0x80 to 0xffff |`\\u####` where #### is four hex digits |
|
|
|
|
Also see the [[jsonstringify Operator]].
|
|
|
|
<<.operator-examples "stringify">>
|