A man has been accused of trying to kill another man during a botched car robbery in South Brisbane.

A 44-year-old man was standing next to his parked vehicle in an underground car when he was grabbed from behind and threatened with a knife about 6pm (AEST) Saturday, police say.

The man demanded he hand over the key, before they started struggling.

The 44-year-old was wounded in his neck and torso and taken to hospital with non-life threatening injuries.

A 26-year-old man has been charged with attempted murder, attempted robbery, depravation of liberty, and is due to appear in the Brisbane Magistrates Court on Monday.