A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/105514.html below:

Is there a string function that will tell me...

Is there a string function that will tell me... Is there a string function that will tell me...Terrence Spencer terrence at mactexas.com
Thu Apr 19 10:51:51 EDT 2001
In the Foxpro language the is a function called:

    AT(SearchingFor,StringToSearch,Count)

So if I want to find out what location the 3rd "e" is in the string
"terrence" I would say:

?at("e","terrence",3)

and that would return 7, the location of the 3rd "e".

Does python have something simular?

Thanks.

--

---------------------------------------------------------
Terrence P. Spencer
Director of Information Technologies
Municipal Advisory Council of Texas



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4