Going by what I know of physics here, you string will need to be about 3cm long at the most, and the base will need to be a pretty big magnet, if possible try and position them like this:
\_/
so that is roughly keeps it centered. Awesome idea, but sadly I am left doubtful.
|