Re: [Tutor] String question.

2006-04-13 Thread Adam
How's this?: >>> s = """All, ... ... I have a problem/question I'd like to pose to you guys on how best to ... accomplish the following. I have a string that will vary in size, what ... I would like to do is split into n size chunks. I am also not sure how ... best to represent the chunks. For e

Re: [Tutor] String question.

2006-04-12 Thread Kent Johnson
Carlos Benevides wrote: > All, > > I have a problem/question I'd like to pose to you guys on how best to > accomplish the following. I have a string that will vary in size, what > I would like to do is split into n size chunks. I am also not sure how > best to represent the chunks. For examp

[Tutor] String question.

2006-04-12 Thread Carlos Benevides
All, I have a problem/question I'd like to pose to you guys on how best to accomplish the following. I have a string that will vary in size, what I would like to do is split into n size chunks. I am also not sure how best to represent the chunks. For example, say I have a len(s) = 200 chars