I figured out a solution for the question I asked on here. To find the next digit (0-9) in a string, I use: text.find("0" or "1" or "2", etc.......) But is there a more elegant way to do this? The way I found uses a lot of typing. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
- [Tutor] finding digit in string Benjamin Fishbein
- Re: [Tutor] finding digit in string Mark Lawrence
- Re: [Tutor] finding digit in string Prasad, Ramit
- Re: [Tutor] finding digit in string Alan Gauld
- Re: [Tutor] finding digit in string Dave Angel
- Re: [Tutor] finding digit in string bob gailer