Function tail
Synopsis
#include "breeze/text/tail.hpp"
std::string tail(std::string const &s, std::ptrdiff_t count)
Description
- Precondition
- count >= 0
- Returns
- If
count >= s.length()
,s
; otherwise the string composed of the lastcount
characters ofs
(an empty string ifcount == 0
).
Source
Line 33 in breeze/text/tail.hpp.