a newly allocated string containing the text from start_offset up to, but not including end_offset. Use g_free() to free the returned string.