The line is a Unicode mark added after each character, so it pastes into bios, posts and comments that have no strikethrough button.

In WhatsApp you can also wrap text in tildes, like this. See WhatsApp text formatting.