Here is the corrected version of the joke:
“These two strings walk up to a bar. The first string walks in and orders, and the bartender throws him out and yells, ‘I don’t serve strings in this bar.’ The other string ruffs himself up on the street, curls up, and orders. The bartender shouts, ‘Hey, didn’t you hear what I told your buddy?’ The string says, ‘Yeah.’ The bartender says, ‘Aren’t you a string?’ The string says, ‘No, I’m a frayed knot.'”