:relfileprefix: ../../../ [#D08225DBA216965645891FBC89CE5400CE5B83A0] = Function params_encoded_base::find_last pass:v,q[Find a matching key] == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- xref:boost/urls/params_encoded_base/iterator.adoc[iterator] find_last( xref:boost/urls/params_encoded_base/iterator.adoc[iterator] before, xref:boost/urls/pct_string_view.adoc[pct_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, which may contain] pass:v,q[percent escapes.] pass:v,q[The comparison is performed as if all] pass:v,q[escaped characters were decoded first.] pass:v,q[The search starts prior to `before`] pass:v,q[and proceeds backwards until either the] pass:v,q[key is found or the beginning of the] pass:v,q[range is reached, in which case `end()`] pass:v,q[is returned.] === Example [,cpp] ---- url_view u( "?First=John&Last=Doe" ); assert( u.encoded_params().find_last( "last" ) != u.encoded_params().find_last( "last", ignore_case ) ); ---- === Complexity pass:v,q[Linear in `this->buffer().size()`.] == Return Value * `iterator` == Parameters |=== | Name | Type | *before* | `iterator` | *key* | `pct_string_view` | *ic* | `ignore_case_param` |===