Le 10/11/2016 à 23:09, Sven Van Caekenberghe a écrit : > [ :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 > > ? >
'Pharop' size = 'Pharop' asSet size >>> true Does it count? If upper-case counts you will need to do `^ self size = self asLowercase asSet size` :) -- Cyril Ferlicot http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France
signature.asc
Description: OpenPGP digital signature