Re: List of string

2005-08-18 Thread bryanjugglercryptographer
BranoZ wrote: > "132443" is a 'subsubstring' "0134314244133" because: For the record, that's called a "subsequence". http://www.google.com/search?hl=en&q=subsequence -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: List of string

2005-08-18 Thread BranoZ
Dennis Lee Bieber wrote: > On Thu, 18 Aug 2005 13:30:45 +0200, Mohammed Altaj <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > > Thanks , but , this work for an ordered substrings , just like what we > > had ['0132442\n', '13\n', '24\n'] , I would like to remove all > > su

Re: List of string

2005-08-18 Thread [EMAIL PROTECTED]
to quote you : "['0134314244133', '132443', '234'] 2nd and 3rd strings are also substrings from the 1st one , so it should be removed " Actually, no, the 2nd string does not substring match the first, nor does the 3rd. If you are referring to matching individual characters, then yes, characters

Re: List of string

2005-08-18 Thread Marco Aschwanden
> Thanks , but , this work for an ordered substrings , just like what we > had ['0132442\n', '13\n', '24\n'] , I would like to remove all > substrings from the list , example > > ['0134314244133', '132443', '234'] > > > 2nd and 3rd strings are also substrings from the 1st one , so it should > be

Re: List of string

2005-08-18 Thread Mohammed Altaj
> > > > > >Mohammed Altaj wrote: > > >>Hi All >> >>I am having problem with delete line if its belong to another one , example >> >> > >I think, you mean to remove all lines that are substrings of another >line. > >l =