substring package:gi-glib

Copies a substring out of a UTF-8 encoded string. The substring will contain endPos - startPos characters. Since GLib 2.72, -1 can be passed to endPos to indicate the end of the string. Since: 2.30