Pascal Scripting: StringToGUID

Prototype:

function StringToGUID(const S: String): TGUID;

Description:

StringToGUID converts the string representation of a GUID into a 'real' GUID. An exception will be raised upon failure. Also see the Using COM Automation objects topic.