[Tutor] string on multiple lines

François Granger francois.granger@free.fr
Wed Nov 13 13:01:01 2002


on 13/11/02 18:11, Chris Kassopulo at ckasso@sprynet.com wrote:

> It is the first line of a .csv file.

In this case, I probably would do a list because I would probably reuse it
somewhere else, so:

tst_string=["Series",
 "Denomination",
 "Serial Number",
 "Issue Date"]


if 1:
    ref_string= mystring.split(',')
    if ref_string == text_string

(Untested)
-- 
Le courrier est un moyen de communication. Les gens devraient
se poser des questions sur les implications politiques des choix (ou non
choix) de leurs outils et technologies. Pour des courriers propres :
<http://marc.herbert.free.fr/mail/> -- <http://minilien.com/?IXZneLoID0>