On Sat, Mar 2, 2013 at 12:52 AM, Dave Angel wrote:
> The assumption Chris made is that the characters XYC do *not* appear
> anywhere else in each string. if they do, then you need to write a spec as
> to what criteria you can count on for the data.
>
Right. I should have mentioned that. Let's ho
On 03/01/2013 02:08 AM, idy wrote:
On Friday, March 1, 2013 12:23:41 PM UTC+5:30, Chris Angelico wrote:
You want to break the line immediately before the 'XYC'? That's quite
easy; the line break is a character like any other, and can be used in
a replace() call:
formatted_error = Error.
On Friday, March 1, 2013 12:23:41 PM UTC+5:30, Chris Angelico wrote:
> On Fri, Mar 1, 2013 at 5:49 PM, idy wrote:
>
> > Error =
> > 'XYC.12345455LOcation/user/data/MYGLE-INGXYC.23344566LOcation/user/data/INGE-FTYXYC.22334566LOcation/user/data/GETN-YUNXYC.12345455LOcation/user/data/MYGLE-INGXYC.1
On Fri, Mar 1, 2013 at 5:49 PM, idy wrote:
> Error =
> 'XYC.12345455LOcation/user/data/MYGLE-INGXYC.23344566LOcation/user/data/INGE-FTYXYC.22334566LOcation/user/data/GETN-YUNXYC.12345455LOcation/user/data/MYGLE-INGXYC.111LOcation/user/data/INGE-FTYXYC.333LOcation/user/data/GETN-YUN'
>
> I