[#BloombergLP-bdlb-GuidUtil-guidFromString-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/GuidUtil.adoc[GuidUtil]::guidFromString :relfileprefix: ../../../ :mrdocs: Parse `guidString` as a GUID and load the value into `result`. == Synopsis Declared in `<bdlb_guidutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int guidFromString( xref:BloombergLP/bdlb/Guid.adoc[Guid]* result, std::string_view const& guidString); ---- == Description Parse the specified `guidString` (in {GUID String Format}) and load its value into the specified `result`. Return 0 if `result` successfully loaded, and a non‐zero value otherwise. == Return Value 0 if `result` was successfully loaded, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *result* | GUID object to populate | *guidString* | string in {GUID String Format} to parse |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#