FISH-style substring history