Table Of Contents

char

Version:
    Last Modified: January 9, 2017

    Returns the character array representation of an integer. You can specify an unlimited number of input integers.

    Syntax

    ch = char(k1)
    ch = char(k1, k2)
    ch = char(k1, k2, ...)
    Legacy name: setstr

    Inputs

    k1

    Integer between 0 and 2^8-1 in printable ASCII characters or an array of any dimension of such integers.

    k2

    Integer between 0 and 2^8-1 in printable ASCII characters or an array of any dimension of such integers.

    ...

    Further arrays.

    Outputs

    ch

    Character array containing the character representation of k1, k2, ... in rows. If one input is an array with more than two dimensions, the output is an array with the same size as the input. If multiple inputs are arrays with more than two dimensions, MathScript resizes the arrays with multiple dimensions to two dimensions, and the output array is an array with two dimensions. If multiple inputs contain empty arrays, the empty arrays will be rows of space in the output arrays.

    char([76, 86], [78, 73])

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics