[#BloombergLP-baljsn-ParserUtil-stripQuotes] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/ParserUtil.adoc[ParserUtil]::stripQuotes :relfileprefix: ../../../ :mrdocs: Remove surrounding quotation marks from `*str` if present. == Synopsis Declared in `<baljsn_parserutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool stripQuotes(std::string_view* str); ---- == Description If the specified `*str` is at least two characters long and begins and ends with quotation marks ("), then remove the first and last characters; otherwise, do not modify `*str`. Return `true` if `*str` was modified. == Return Value `true` if `*str` was modified == Parameters [cols="1,4"] |=== | Name| Description | *str* | string view that may be trimmed of surrounding quotes |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#