[ :string | string size = string asSet size ] value: 'Pharo'. >>> true
[ :string | string size = string asSet size ] value: 'Pharoo'. >>> false String>>#isIsogram ^ self size = self asSet size ? > On 10 Nov 2016, at 22:19, stepharo <steph...@free.fr> wrote: > > Hi > > I'm checking how I would implement an isogram checker > > 'Pharo' isogram > > >>> true > > because it contains only single letter. > > I got a stupid bag drivent implementation but I will do another better and > faster. > > Stef > > PS: after I will do anagram and pangram to have the family of gram checks > (this is for a book). > >