how tranform in String??
Gerhard Häring
gh_pythonlist at gmx.de
Tue Jun 18 18:10:51 EDT 2002
* jubafre at zipmail.com.br <jubafre at zipmail.com.br> [2002-06-18 18:49 -0300]:
> i have s='xavante brasil', i want to transform in
>
> s='xavante', 'brasil' with two indexes
>
> how i make this???????????
Check out the split method of strings in the docs. Using it works like:
s = 'xavante brasil'.split()
Gerhard
--
This sig powered by Python!
Außentemperatur in München: 25.0 °C Wind: 1.0 m/s
More information about the Python-list
mailing list