![]() |
![]()
| ![]() |
![]()
NAMEstd::experimental::basic_string_view::remove_suffix - std::experimental::basic_string_view::remove_suffix Synopsisconstexpr void remove_suffix(size_type n); (library fundamentals TS)
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
|