:relfileprefix: ../../../ [#17EC85A0D814CE64BAC8E46D3C45A5883DD5BBD7] = Function decode_view::starts_with pass:v,q[Checks if the string begins with the given prefix] == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- bool starts_with(string_view s) const noexcept; ---- == Description === Example [,cpp] ---- assert( decode_view( "Program%20Files" ).starts_with("Program") ); ---- === Complexity pass:v,q[Linear.] === Exception Safety pass:v,q[Throws nothing.] == Return Value * `bool` == Parameters |=== | Name | Type | *s* | `string_view` |===