Re: [Pharo-users] uses or instead of a searching literal
I would go for 'Portable Network Graphics' findTokens: ' -_'.
On 28 Dec 2019, at 09:35, Roelof Wobben via Pharo-users <pharo-users@lists.pharo.org> wrote:
From: Roelof Wobben <r.wobben@home.nl> Subject: Re: [Pharo-users] uses or instead of a searching literal Date: 28 December 2019 at 09:35:17 GMT+1 To: pharo-users@lists.pharo.org
yep. Im aware of this tool but on this case nothing pops up.
Roelof
Op 28-12-2019 om 09:22 schreef Kasper Ãsterbye:
Are you aware of the âfinderâ tool?, in particular the âexamples' mode is useful.
try: âaaa_bbb-cccâ. â_-â. #(âaaaâ âbbbâ âcccâ)
Best,
Kasper
On 28 December 2019 at 08.12.03, Roelof Wobben via Pharo-users (pharo-users@lists.pharo.org) wrote:
Op 27-12-2019 om 23:33 schreef Richard O'Keefe:
aString splitOn: ' -_' asSet
Hello Richard,
Thanks again , I find this "aString splitOn: '_- ` asSet " much cleaner but on some way I does not split for example 'Portable Network Graphics' into " #(Portable, Network, Graphics) ". When I debug it , it seems there is no splitting at all.
So today time to dive into it why it does not work and how to solve it.
Roelof
Hello Sven, Thanks. this is what im looking for. Roelof Op 28-12-2019 om 10:46 schreef Sven Van Caekenberghe:
I would go for
'Portable Network Graphics' findTokens: ' -_'.
On 28 Dec 2019, at 09:35, Roelof Wobben via Pharo-users <pharo-users@lists.pharo.org> wrote:
From: Roelof Wobben <r.wobben@home.nl> Subject: Re: [Pharo-users] uses or instead of a searching literal Date: 28 December 2019 at 09:35:17 GMT+1 To: pharo-users@lists.pharo.org
yep. Im aware of this tool but on this case nothing pops up.
Roelof
Op 28-12-2019 om 09:22 schreef Kasper Ãsterbye:
Are you aware of the âfinderâ tool?, in particular the âexamples' mode is useful.
try: âaaa_bbb-cccâ. â_-â. #(âaaaâ âbbbâ âcccâ)
Best,
Kasper
On 28 December 2019 at 08.12.03, Roelof Wobben via Pharo-users (pharo-users@lists.pharo.org) wrote:
Op 27-12-2019 om 23:33 schreef Richard O'Keefe:
aString splitOn: ' -_' asSet Hello Richard,
Thanks again , I find this "aString splitOn: '_- ` asSet " much cleaner but on some way I does not split for example 'Portable Network Graphics' into " #(Portable, Network, Graphics) ". When I debug it , it seems there is no splitting at all.
So today time to dive into it why it does not work and how to solve it.
Roelof
participants (2)
-
Roelof Wobben -
Sven Van Caekenberghe