any2Str Function

Converts object to the equivalent text string.


str any2Str(anytype object)

Parameter

Description

object

The value to convert.

A string.

static void any2StrExample(Args _args)
{
    str convert(anytype _value)
    {
        if (typeOf(_value) == Types::String)
        {
            return any2Str(_value);
        }
    }
    ;
 
    print convert("This is a string");
    pause;
} 

Community Additions

ADD
Show: