String.erase
glib.string_.String erase(ptrdiff_t pos, ptrdiff_t len)Removes len bytes from a #GString, starting at position pos. The rest of the #GString is shifted down to fill the gap.
Parameters
pos | the position of the content to remove |
len | the number of bytes to remove, or -1 to remove all following bytes |
Returns
string