A newer version of Max is available. Click here to access the latest version of this document.

jit.str.tosymbol

Convert Jitter string matrix to Max symbol

Description

The jit.str.tosymbol object converts a string matrix into a Max symbol.

A word on Jitter strings: In Jitter, any 1 plane char matrix may be manipulated as a string. String matrices may have one or two dimensions. If 1-dimensional, the string is considered terminated at the first 0 (like in C). If 2-dimensional, the string may be considered a multi-line string, with the first 0 encountered on each row treated as a carriage return. The jit.textfile and jit.str.op objects will accept and output 2D matrices. jit.str.fromsymbol only outputs 1D matrices and jit.str.tosymbol only accepts 1D matrices (or the first row of a 2D matrix).

Matrix Operator

matrix inputs:1, matrix outputs:0
Name IOProc Planelink Typelink Dimlink Plane Dim Type

Information for Jitter Matrix Operator (MOP) messages and attributes to this object

Attributes

Name Type g/s Description

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.str.fromsymbol Convert Max symbol to Jitter string matrix
jit.str.op Apply common string operations
jit.str.regexp Use PERL-compatible regular expressions on Jitter matrices
jit.textfile Read and write a matrix as an ASCII text file
tosymbol Convert messages, numbers, or lists to a single symbol
Tutorial 20: Importing and Exporting Single Matrices Tutorial 20: Importing and Exporting Single Matrices