Home
Python Tutorial
Introduction
Data Type
Statement
Operator
String
Tuple
List
Dictionary
Collections
Function
Class
File
Buildin Function
Buildin Module
Database
Regular Expressions
Thread
Tkinker
wxPython
XML
Network
CGI Web
Windows
Menu
rindex with index : rindex « String « Python Tutorial
Python Tutorial
String
rindex
searchStr =
"Red Blue Violet Green Blue Yellow Black"
print searchStr.rindex(
"Blue"
,1,18)
5.26.rindex
5.26.1.
index from right
5.26.2.
rindex with index
5.26.3.
searching from end of string