A man has been arrested after a stabbing attack on a South Yarra resident which the victim in a critical condition in hospital last month.

John Thackray was arrested in the early hours of Sunday morning after two attacks in South Yarra, one on Toorak Road resident, Shaun Foo, 38, and the other at store manager at the Vogue shopping centre in Chapel Street.

In the most serious attack, Shaun Foo was in front of his home in Osborne Street, South Yarra, when he allegedly saw Thackray loitering in a nearby car park on July 30, about 6pm.

Having recently been robbed, Mr Foo armed himself with a golf club and approached him.