String to integer tuple API

There is none, but you can easily wrap yourself, as I have shown in my code example.