--- Begin Message ---Op 27-4-2020 om 19:05 schreef Richard Sargent:
On Mon, Apr 27, 2020 at 9:27 AM Roelof Wobben via Pharo-users <pharo-users@lists.pharo.org> wrote:
Hello,
I wonder if it is possible in Pharo to divide a string in lets say part
of 3.
so this : 'abcdefgh'
would be 'abc def gh`
Do you really want a single string with spaces inserted or do you want a collection of substrings, each three characters (or less, for the last one)?
I need a single string with spaces inserted.
So maybe I have formulate my question wrong. Very difficult if English is not your mother language and you were bad at school in languages a very very long ago.
Roelof
--- End Message ---
Re: [Pharo-users] can I divide a string into part of exactly n length
Roelof Wobben via Pharo-users Mon, 27 Apr 2020 10:08:48 -0700
- [Pharo-users] can I divide a string into pa... Roelof Wobben via Pharo-users
- Re: [Pharo-users] can I divide a strin... Richard Sargent
- Re: [Pharo-users] can I divide a s... Roelof Wobben via Pharo-users
- Re: [Pharo-users] can I divide... Todd Blanchard via Pharo-users
- Re: [Pharo-users] can I di... Richard O'Keefe
- Re: [Pharo-users] can I divide... Ben Coman