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