a starting character offset within @text
an ending character offset within @text, or -1 for the end of the string.
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.
Gets the specified text.