Select distinct substring

Version imprimable