In the game development world, if you find yourself doing the same task again and again with some little changes, it’s almost sure that you can do it in a more “programmatically” way
Here are two examples:
[url][EXAMPLE] Type-on effect [updated v2]]
[url]How to make the Text Automatically typing?]
In the second one the key is the slice string function