Re: Text Parsing Question

2008-08-22 Thread Robocop
Thanks for the suggestions guys, they all have been helpful. I will try and implement the customized filter idea right now, i had a feeling that i would be doing something like that if django lacked the built in functionality, though it doesn't seem bad at all. --~--~-~--~~---

Re: Text Parsing Question

2008-08-22 Thread Robocop
This looks like exactly what i was looking for. I will try and implement this idea right now, Thanks a ton Tim! On Aug 21, 6:15 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > > So i'm working on a view that will need to parse character > > strings that will have a predictable structure, but dynamic

Re: Text Parsing Question

2008-08-21 Thread Garrett Garcia
On Thu, Aug 21, 2008 at 6:15 PM, Tim Chase <[EMAIL PROTECTED]>wrote: > > > So i'm working on a view that will need to parse character > > strings that will have a predictable structure, but dynamic > > content. The format will look like > > "%Zxx^xx?;xx? where all

Re: Text Parsing Question

2008-08-21 Thread Tim Chase
> So i'm working on a view that will need to parse character > strings that will have a predictable structure, but dynamic > content. The format will look like > "%Zxx^xx?;xx? where all x are > the unpredictable characters and all the rest will be present > in

Re: Text Parsing Question

2008-08-21 Thread [EMAIL PROTECTED]
For your first question, split should work. For your second, foo=original_string[:4] (You're slicing it) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djan

Text Parsing Question

2008-08-21 Thread Robocop
So i'm working on a view that will need to parse character strings that will have a predictable structure, but dynamic content. The format will look like "%Zxx^xx?;xx? where all x are the unpredictable characters and all the rest will be present in EVERY string, re