format s
s
by inserting escape sequences, thereby preparing it for printing in a format suitable for reading in again
|
|
|
|
The characters that are escaped are double quotes, backslashes, and all control characters. In particular, the outputted string will be valid JSON.
|
format(s,k,l,t,e,x)
0
imposes no limit.-1
imposes no limit.x
, prepared according to the parameters above
|
|
|
|
|
|
|
The object format is a method function with a single argument.
The source of this document is in Macaulay2Doc/functions/format-doc.m2:71:0.