Re: [Pharo-users] can I divide a string into part of exactly n length

2020-04-29 Thread Ben Coman
On Tue, 28 Apr 2020 at 01:08, Roelof Wobben via Pharo-users < pharo-users@lists.pharo.org> wrote: > 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

Re: [Pharo-users] can I divide a string into part of exactly n length

2020-04-27 Thread Richard O'Keefe
n next. > len := len + 1. > (in atEnd not and: [ (len \\ 3) = 0]) ifTrue: [ s space ] ] ] > > On Apr 27, 2020, at 10:07 AM, Roelof Wobben via Pharo-users > wrote: > > > From: Roelof Wobben > Subject: Re: [Pharo-users] can I divide a string into part of exactl

Re: [Pharo-users] can I divide a string into part of exactly n length

2020-04-27 Thread Todd Blanchard via Pharo-users
[ s space ] ] ] > On Apr 27, 2020, at 10:07 AM, Roelof Wobben via Pharo-users > wrote: > > > From: Roelof Wobben > Subject: Re: [Pharo-users] can I divide a string into part of exactly n length > Date: April 27, 2020 at 10:07:41 AM PDT > To: Richard Sargent , Any question abo

Re: [Pharo-users] can I divide a string into part of exactly n length

2020-04-27 Thread Roelof Wobben via Pharo-users
--- 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 wrote: Hello,

Re: [Pharo-users] can I divide a string into part of exactly n length

2020-04-27 Thread 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 inse

[Pharo-users] can I divide a string into part of exactly n length

2020-04-27 Thread Roelof Wobben via Pharo-users
--- Begin Message --- 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` Regards, Roelof --- End Message ---