[#BloombergLP-bdls-PathUtil-getRootEnd] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/PathUtil.adoc[PathUtil]::getRootEnd :relfileprefix: ../../../ :mrdocs: Return the 0‐based position in the specified `path` of the character following the root. Note that a return value of 0 indicates a relative path. See []and Performance). See also for the definition of root. == Synopsis Declared in `<bdls_pathutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int getRootEnd(std::string_view const& path); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#