->MVSTRING
gts
encoder
multivariate
The ->MVSTRING
function generates a STRING representation of an ENCODER in the format expected by the /update
endpoint for multi values.
When encountering a binary element, the function attempts to interpret it as a wrapped encoder, if that fails then it will output the element as a binary (b64:...
) value.
->MVSTRING is available since version 2.1.0.
See also
Signatures
Examples
NEWENCODER
0 NaN NaN NaN 'W' ADDVALUE
0 NaN NaN NaN 'a' ADDVALUE
0 NaN NaN NaN 'r' ADDVALUE
0 NaN NaN NaN 'p' ADDVALUE
0 NaN NaN NaN ' ' ADDVALUE
0 NaN NaN NaN '1' ADDVALUE
0 NaN NaN NaN '0' ADDVALUE
WRAP
->MVSTRING
'T0Js.KRs.L3s.M7s.M.s.H.s.I3s.I.L2V.' ->MVSTRING
"0// tst{} [ 'W' 'a' 'r' 'p' '%20' [ '1' '0' ] ]" PARSE
VALUES 0 GET 0 GET 'ISO-8859-1' ->BYTES ->MVSTRING