Touuid

This keyword converts a canonical UUID string to its UUID value.

Syntax

Touuid(str)

Example

MYUUID=Touuid(“12345678-9abc-def0-1234-567890abcdef”) : # Constant UUID (!!)
MYUUID=Touuid(CANONICAL_UUID) : # Transforms the string CANONICAL_UUID

Comments

Use the [num$](../4gl/num$.md) function to transform from UUID to canonical string:
MYUUID=Touuid(num$(Getuuid))
Is equivalent to:
MYUUID=Getuuid

See also

UUID, Uuident, Nulluuid, Getuuid