[#boost-urls-params_encoded_base-find-0c]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_encoded_base.adoc[params&lowbar;encoded&lowbar;base]::find
:relfileprefix: ../../../
:mrdocs:

Find a matching key

== Synopses

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_encoded_base.hpp#L396[boost&sol;url&sol;params&lowbar;encoded&lowbar;base&period;hpp]&gt;`

Find a matching key


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_encoded_base/iterator.adoc[iterator]
xref:boost/urls/params_encoded_base/find-03.adoc[find](
    xref:boost/urls/pct_string_view.adoc[pct&lowbar;string&lowbar;view] key,
    xref:boost/urls/ignore_case_param.adoc[ignore&lowbar;case&lowbar;param] ic = &lcub;&rcub;) const noexcept;
----

[.small]#xref:boost/urls/params_encoded_base/find-03.adoc[_» more&period;&period;&period;_]#

Find a matching key


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/params_encoded_base/iterator.adoc[iterator]
xref:boost/urls/params_encoded_base/find-00.adoc[find](
    xref:boost/urls/params_encoded_base/iterator.adoc[iterator] from,
    xref:boost/urls/pct_string_view.adoc[pct&lowbar;string&lowbar;view] key,
    xref:boost/urls/ignore_case_param.adoc[ignore&lowbar;case&lowbar;param] ic = &lcub;&rcub;) const noexcept;
----

[.small]#xref:boost/urls/params_encoded_base/find-00.adoc[_» more&period;&period;&period;_]#

== Exceptions

[cols=2]
|===
| Name
| Thrown on
| `system&lowbar;error`
| `key` contains an invalid percent&hyphen;encoding&period;
|===

== Return Value

an iterator to the param

== Parameters

[cols=2]
|===
| Name
| Description
| *key*
| The key to match&period; By default, a case&hyphen;sensitive comparison is used&period;
| *ic*
| An optional parameter&period; If the value xref:boost/urls/ignore_case.adoc[`ignore&lowbar;case`] is passed here, the comparison is case&hyphen;insensitive&period;
| *from*
| The position to begin the search from&period; This can be `end()`&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
