This is not a very typical-purpose Answer, but I had a scenario where I anticipated an index of duration 3 to five (by using a guarding if), and I was breaking out the values to named variables. A simple and concise way I discovered for this involved: The Lifeline system https://howtogetfreephone75320.blogstival.com/58600964/about-free-phone-low-income