Yeah. I've tried several more approaches, but none are suitable for use. I guess I'll just have to abandon the function and go with something else.

Thanks though.