I've been a fan of velcro for cable management for years. Magnets are also a good option. I like the benefits of both. This is particularly useful if the item with the string is metal so the magnet will hold the string directly against the item.
Leather Cable Straps - Organizers For USB, Headphone Wires | Cord Management Solution | 2 Sizes, 5 Colors | Gydandir
26 Review
Heavy Duty 8 Inch Nylon Self-Locking Cable Zip Ties - 100 Pack In Black
52 Review
Organize Your Cords With LuBanSir'S 3 Pack Extension Cord Storage Straps
27 Review
π Melca Cable Management Cord Organizer - 6ft Long Paintable Sleeve Covers Wire Behind Wall/Floor Mount TV, Desk, Computer, PC, or Entertainment System. Hider Concealer Cover Wrap
27 Review