Hello, Is there a convenient way to convert from a byte index in a string to its character offset and vice-versa?
I know string has pointer_to_offset(string pos), but that's for pointers, I have the value of a byte index, i.e. an int/uint/long value, not a pointer. Thanks, James _______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
