• Thanks for this. I nearly used this function.