fabric with defects “like this” or any other inconsistencies like pulled threads or fraying or such used to be marked with a brightly colored string to indicate a flaw. Fabric with these strings were usually sold at a discounted price. Fabric without these strings was usually seen as ideal.
And thats where the phrase “no strings attached” came from.