Hamilton is to benefit from the 10-year Pride in Place funding awarded to South Lanarkshire by the UK government.