| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Try to transform a string to a GUID
Source position: intfh.inc line 32
function TryStringToGUID(  | 
const S: string;  | 
out Guid: TGUID  | 
):Boolean;  | 
TryStringToGUID tries to convert the string S to a TGUID value, returned in GUID. It returns True if the conversion succeeds, and False if the string S does not contain a valid GUID notation. The string S must be 38 characters long, must start with { and end on }, and contain a valid GUID string (hex number grouped using 8-4-4-4-12 digits).
In case S does not contain a valid GUID number, False is returned.
  | 
Convert a string to a native TGUID type.  |