:relfileprefix: ../../../ [#boost-urls-segments_encoded_view-08friend] == xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::parse_path Parse a string and return an encoded segment view === Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- friend system::result parse_path(core::string_view s) noexcept; ---- === Description This function parses the string and returns the corresponding path object if the string is valid, otherwise returns an error. [,cpp] ---- path = [ "/" ] segment *( "/" segment ) ---- === No-throw guarantee. * link:https://datatracker.ietf.org/doc/html/rfc3986#section-3.3[3.3. Path (rfc3986)] === See Also xref:boost/urls/segments_encoded_view/2constructor-0c.adoc[segments_encoded_view] .