Hey,
Apologies I’m not at a PC. I suspect you could use a function to do a similar job, like in this post…
Michael Kirschner states later on that you would need a C# node otherwise. I think I also saw a solution somewhere that involved writing/reading a text file.
Hope that helps,
Mark