![]() |
![]()
| ![]() |
![]()
NAMEstd::basic_string_view::remove_prefix - std::basic_string_view::remove_prefix Synopsisconstexpr void remove_prefix( size_type n ); (since C++17)
Parametersn - number of characters to remove from the start of the view Return value(none) ComplexityConstant. Example// Run this code
Output: String: ' trim me'
See also remove_suffix shrinks the view by moving its end backward
|