str2Int Function

Converts a text string to the equivalent integer.


int str2Int(str _text)

Parameter

Description

_text

The text string to convert to an integer.

The integer equivalent of text.

static void str2IntExample(Args _arg)
{
    int i;
    ;
    i = str2Int("1234567890");
    print "i = " + int2Str(i);
    pause;
}

Community Additions

ADD
Show: