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
Organize Your Cords With LuBanSir'S 3 Pack Extension Cord Storage Straps
27 Review
50Pcs Adhesive Cable Clips, Cord Holder Wire Management For Car, Office And Home (Black)
42 Review
25 Pieces Desk Wire Organizer Cable Ties Zip Ties Adhesive Cord Clips Cable Management Cord Keeper Desk Wire Management
25 Review