10 auto end = input.
size();
11 while (start < end && input[start].is_whitespace()) ++start;
12 while (end > start && input[end - 1].is_whitespace()) --end;
13 return input.
substr(start, end - start);
bool empty() const noexcept
size_type size() const noexcept
RuneString substr(size_type start, size_type length=npos) const
Create a substring.
RuneSequence operator()(const RuneSequence &input) const override
Apply the spell transformation.
RuneString RuneSequence
Backward compatibility alias for RuneString.