:relfileprefix: ../../../
[#79F7C7F72C48925428731C375CA17FE1EB6DD70E]

= Function decode_view::remove_prefix

pass:v,q[Remove the first characters]


== Synopsis

Declared in header `</boost/url/decode_view.hpp#L453[boost/url/decode_view.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
void
remove_prefix(xref:boost/urls/decode_view/size_type.adoc[size_type] n);
----

== Description


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

=== Preconditions
[,cpp]
----
not this->empty()
----

=== Complexity
pass:v,q[Linear.]



== Return Value

* `void` 


== Parameters

|===
| Name | Type 

| *n*
| `size_type`

|===



