Scientists have long puzzled over how to break a single, dry spaghetti strand in half, but those days are now over.