Hi everybody

I am searching for a possibility, to find out, what the index for a
certain lettyer in a string is.
My example:

for x in text:
   if x == ' ':
      list = text[:      # There I need the index of the space the
program found during the loop...

Is there and possibility to find the index of the space???
Thanks for any help!
Fred
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to