guid2Str Function

Converts the specified GUID object to the equivalent string.


str guid2String(guid _uuid)

Parameter

Description

_uuid

The GUID object from which to convert.

The string equivalent of the specified GUID object.

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

    _guid = Global::guidFromString
        ("{12345678-1234-1234-1234-123456789abc}");
    print strfmt("GUID is %1", _guid);

    stringGuid = guid2str(_guid);
    info("String GUID is " + stringGuid);
}
/**** Output to Infolog
String GUID is {12345678-1234-1234-1234-123456789ABC}
****/

Community Additions

ADD
Show: