Re: [Pharo-users] can I divide a string into part of exactly n length
April 27, 2020
5:05 p.m.
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)?
Regards,
Roelof
2285
Age (days ago)
2285
Last active (days ago)
1 comments
2 participants
participants (2)
-
Richard Sargent -
Roelof Wobben