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
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
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
> 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
>
>
>
>
>
>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 =