[#boost-urls-decode_view-remove_prefix]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/decode_view.adoc[decode&lowbar;view]::remove&lowbar;prefix
:relfileprefix: ../../../
:mrdocs:

Remove the first characters

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/decode_view.hpp#L472[boost&sol;url&sol;decode&lowbar;view&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
remove&lowbar;prefix(xref:boost/urls/decode_view/size_type.adoc[size&lowbar;type] n);
----

== Example

[,cpp]
----
decode_view d( "Program%20Files" );
d.remove_prefix( 8 );
assert( d == "Files" );
----
== Preconditions

[,cpp]
----
n <= this->size()
----
== Complexity

Linear&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *n*
| The number of characters to remove
|===


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