Excellent function to have, would vote for to be added as SAS function.