Edited my post with an example, but can't try it at the moment - at work.