Wow I feel really stupid for not having realized that, thanks.
In retrospect, what I was looking for was not necessarily something more “succinct”, but something for which I wouldn’t have to stick string
into the first line forcing me to reformat everything, your solution satisfies that, thanks.