:relfileprefix: ../../../ [#99275BCADCA46A3AEE1D0CB55BC8B2AD66DB3A63] = Function params_base::find pass:v,q[Find a matching key] == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- xref:boost/urls/params_base/iterator.adoc[iterator] find( string_view key, xref:boost/urls/ignore_case_param.adoc[ignore_case_param] ic = = {}) const noexcept; ---- == Description pass:v,q[This function examines the parameters] pass:v,q[in the container to find a match for] pass:v,q[the specified key.] pass:v,q[The comparison is performed as if all] pass:v,q[escaped characters were decoded first.] pass:v,q[The search starts from the first param] pass:v,q[and proceeds forward until either the] pass:v,q[key is found or the end of the range is] pass:v,q[reached, in which case `end()` is] pass:v,q[returned.] === Example [,cpp] ---- assert( (*url_view( "?first=John&last=Doe" ).params().find( "First", ignore_case )).value == "John" ); ---- === Effects [,cpp] ---- return this->find( this->begin(), key, ic ); ---- === Complexity pass:v,q[Linear in `this->buffer().size()`.] == Return Value * `iterator` == Parameters |=== | Name | Type | *key* | `string_view` | *ic* | `ignore_case_param` |===