--- Begin Message ---
Hello,
How can I get rid of the above error message with this code :
abbreviatePhrase: aString | splitted | splitted := aString splitOn: [ :char | char = Character space or: [ char = $- or: [ char = $_ ] ] ]. ^ String streamContents: [ :stream | splitted reject: [ :word | word isEmpty ] thenDo: [ :word | stream nextPut: word first uppercase ] ]
Regards, Roelof
--- End Message ---
[Pharo-users] uses or instead of a searching literal
Roelof Wobben via Pharo-users Fri, 27 Dec 2019 12:56:25 -0800
- [Pharo-users] uses or instead of a searching... Roelof Wobben via Pharo-users
- Re: [Pharo-users] uses or instead of a ... tbrunz
- Re: [Pharo-users] uses or instead of a ... Richard O'Keefe
- Re: [Pharo-users] uses or instead o... Roelof Wobben via Pharo-users
- Re: [Pharo-users] uses or inste... Kasper Østerbye
- Re: [Pharo-users] uses or i... Roelof Wobben via Pharo-users
- Re: [Pharo-users] uses... Sven Van Caekenberghe
- Re: [Pharo-users] ... Roelof Wobben via Pharo-users