a newly allocated string containing the text after offset bounded by the specified boundary_type. Use g_free() to free the returned string.