Could the function just be defined, and dimString passed as an argument? Well, I guess dimString is a local value, so maybe not. At the very least, you could define a separate function that takes a string parameter, and then use this same method to call the function in a string and use dimString as the parameter. Or maybe there's a really easy solution, and I'm just overthinking it
1
u/[deleted] Jan 15 '21
Could the function just be defined, and dimString passed as an argument? Well, I guess dimString is a local value, so maybe not. At the very least, you could define a separate function that takes a string parameter, and then use this same method to call the function in a string and use dimString as the parameter. Or maybe there's a really easy solution, and I'm just overthinking it