List of string

Marco Aschwanden PPNTWIMBXFFC at spammotel.com
Thu Aug 18 07:47:42 EDT 2005


> 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 removed
>
> Thanks

Sounds like you have some homework to do. Good luck!





More information about the Python-list mailing list