[Tutor] string.split() into a list

Randy Bush randy at psg.com
Tue Oct 18 22:30:58 CEST 2005

and stupid question of the morning (for me)

i want to string.split() into a sequence, a la

  l = []
  l = myString.split('|')

but, of course it whines about too many values.  what is the
common way to do this?


More information about the Tutor mailing list