std::basic_string::erase
Da cppreference.com
< cpp | string | basic string
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
basic_string& erase( size_type index = 0, size_type count = npos ); |
(1) | |
iterator erase( iterator position ); iterator erase( const_iterator position ); |
(2) | (até C++11) (desde C++11) |
iterator erase( iterator first, iterator last ); iterator erase( const_iterator first, const_iterator last ); |
(3) | (até C++11) (desde C++11) |
Remove caracteres especificados a partir da cadeia.
Original:
Removes specified characters from the string.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
1)
Remove caracteres
count
partir de index
.Original:
Removes
count
characters starting at index
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
2)
Remove o caractere na
position
.Original:
Removes the character at
position
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
3)
Remove o personagem no
[first; last)
gama.Original:
Removes the character in the range
[first; last)
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Índice |