Re: [Pharo-users] Spec > TreeModel: Updating the tree selection after a deletion

2016-08-10 Thread Nicolai Hess
2016-08-10 19:05 GMT+02:00 Offray Vladimir Luna Cárdenas < offray.l...@mutabit.com>: > Hi, > > I have been fighting with this for several hours until now. I can't > understand how to manage change on selections on TreeModels with Spec, > which is really frustrating > > Here is what I have: >

Re: [Pharo-users] manipulating strings

2016-08-10 Thread Esteban A. Maringolo
Would this work? 'Uquillas G\''{o}mez' onlyLetters asLowercase Esteban A. Maringolo 2016-08-10 15:00 GMT-03:00 stepharo : > I did > > > String > streamContents: [ :str | > aString > do: [ :aChar | > aChar isLetter >

Re: [Pharo-users] manipulating strings

2016-08-10 Thread stepharo
I did String streamContents: [ :str | aString do: [ :aChar | aChar isLetter ifTrue: [ str nextPut: aChar asLowercase ] ] ] I'm curious about other solution because I was lucky that isLetter exist. Stef Le

Re: [Pharo-users] Spec > TreeModel: Updating the tree selection after a deletion

2016-08-10 Thread Nicolai Hess
2016-08-10 19:12 GMT+02:00 Nicolai Hess : > > > 2016-08-10 19:05 GMT+02:00 Offray Vladimir Luna Cárdenas < > offray.l...@mutabit.com>: > >> Hi, >> >> I have been fighting with this for several hours until now. I can't >> understand how to manage change on selections on

[Pharo-users] manipulating strings

2016-08-10 Thread stepharo
Hi I have the following problem I want to transform a string into another while removing a set of characters 'Uquillas G\'{o}mez' -> 'uquillasgomez' And I wonder how to do that? copyWithoutAll: I was thinking to create a string of the same size and copy only the valid

Re: [Pharo-users] Spec > TreeModel: Updating the tree selection after a deletion

2016-08-10 Thread Nicolai Hess
2016-08-10 20:42 GMT+02:00 Nicolai Hess : > > > 2016-08-10 19:12 GMT+02:00 Nicolai Hess : > >> >> >> 2016-08-10 19:05 GMT+02:00 Offray Vladimir Luna Cárdenas < >> offray.l...@mutabit.com>: >> >>> Hi, >>> >>> I have been fighting with this for several

Re: [Pharo-users] manipulating strings

2016-08-10 Thread stepharo
quite nice indeed! Le 10/8/16 à 20:04, Esteban A. Maringolo a écrit : 'Uquillas G\''{o}mez' onlyLetters asLowercase

Re: [Pharo-users] manipulating strings

2016-08-10 Thread stepharo
Now I was really wondering how I could copy characters by characters without relying on a stream to get a string from the correct size at the end. In particular copyWithout: and friends only works either with one subcollection or one elements and I have mulitple elements \ { } '` Stef Le

Re: [Pharo-users] Some interesting datasets | https://numeracy.co

2016-08-10 Thread Sven Van Caekenberghe
Very good. Thank you, Brian. > On 10 Aug 2016, at 00:59, sirwart wrote: > > Hey Sven, > > I put together that dataset and the latin-1 encoding was an oversight. > Sorry! > > I fixed it so it's UTF-8 like it should have been from the start. You might > have to remove the