From: "ara.t.howard" Date: 2008-08-20T00:45:51+09:00 Subject: Re: Cut a string if length > n On Aug 19, 2008, at 9:25 AM, Pål Bergström wrote: > What's the best way to cut a string if the length is above n > characters? > Is it slice, or is there any other convenient method? Trying to > understand the string class from the docs but not sure which one to > use. this_always_works = string[ 0 .. n ] regardless of whether the string is <, =, or > than n a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama