string

string
formated

string

string(n)

        Returns the string expressing the integer n.
        If n is a string, returns NIL
Examples:
"A",string(123); produces string A123.
string("AB"); produces NIL.

string("ntype",e)

        Returns the string expressing the integer e according to format "ntype"
        n = number of the characters of the string
        type = D(decimal), X(hexadecimal), O(octal) or B(binary)
Examples:
$string("4D",12); prints 0012.
$string("6D",12); prints 000012.
$string("2D",123); prints 23.
$string("3X",11); prints 00B.
$string("2O",10); prints 12.
$string("4B",10); prints 1010.

Voir aussi:

stringf