guid2Str Function

Converts the specified GUID to the equivalent text string.


guid guidFromString(str text)

Parameter

Description

text

The GUID to convert.

The text string equivalent of the passed in GUID.

static void guid2strExample()
{
    guid _guid;
    str stringGuid;
    ;

    _guid = guidFromString("{12345678-1234-1234-1234-123456789012}");
    print strfmt("GUID is %1", _guid);

    stringGuid = guid2str(_guid);
    print "String guid is " + stringGuid;
    pause;
}

Community Additions

ADD
Show: