How change text of text object output node in animation node tree at different frame?

Hello everyone,

I have a list of texts of different length. I have an animation node tree and i have succeeded at showing my text list iteratively at a constant rate (example each 120 frames) in a text object output node. My problem is the constant rate because my texts are of different length. I would like to show in the text object output each text in the text list but with a different duration (example : text[0] = 120 frames, text[1] = 258 frames, text[2] = 76 frames). I am wondering if this is achievable with animation node tree.

Thanks.