like a "for loop" for a string
fredrik at pythonware.com
Sun Aug 17 22:03:24 CEST 2008
> Basically I want the code to be able to pick out how many strings there are
> and then do something with each, or the number. When I say string I mean how
> many "strings" are in the string "string string string non-string string"
> Does that help?
not really, since you haven't defined what "string" and "non-string" are
or how strings are separated from each other, and, for some odd
reason, refuse to provide an actual example that includes both a proper
sample string *and* the output you'd expect.
please don't use the mailing list to play 20 questions.
More information about the Python-list