GUID
Converts a string into a Guid.
Syntax
Guid? GUID(string value)
Example
There are a few scenarios in which you might want to convert a string into a guid:
1) Data Storage: Suppose you have a table that stores user information, and each user is assigned a unique identifier in the form of a Guid. If you need to insert a new user record into the table, you would need to generate a new Guid value for the UserId column. You could generate this Guid value using a string value such as the user's email address or username.
GUID(EmailAddress)
2) Data Comparison: Suppose you have two sets of data, one stored in a database and the other stored in a file. The data in both sources is identified using Guid values. However, the Guid values in the file are stored as strings. To compare the data in the two sources, you would need to convert the string Guid values in the file to actual Guid values.
GUID(MyGUIDString)