It's a bit unclear what you're doing, but try this:
$IsNull(<Playlist>,NO,$If($IsMatch(<Playlist>,".*♥☻.*"),♥☻,)$If($IsMatch(<Playlist>,".*TB.*"),TB,))
This will show:
NO if a track is not in a playlist.
♥☻ and/or
TB if a track is in a playlist whose name contains those characters.
Nothing is displayed if a track is in a playlist whose name doesn't meet the other naming criteria.
You can change this by adding a value after the last comma.
Bee excellent to each other...