SP.Guid.toString() Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Gets a text representation of this GUID.
var value = SP.Guid.toString(arguments);
Return Value
Type: string
The text representation of this GUID.
Remarks
This method converts this instance to a text representation.
You can specify a format for the output string by setting the first element of the arguments object to either "B" or "D". If the format is "B", this method returns the GUID wrapped in curly braces ("{GUID}"). If the format is "B", or there is no arguments object, this method returns the GUID without any curly braces ("GUID").