ΒΆstd::string utf_substr(std::string_view string,
                       uint64_t offset,
                       uint64_t size)

Description

Returns a string subtracted by stride begin `offset` and end index `size`. If string is empty, return empty.

Declared at: include/ekg/util/text.hpp:45

Parameters

std::string_view string
uint64_t offset
uint64_t size