Function rindex - rindex(s, sub [,start [,end]]) -> int

Function rindex - rindex(s, sub [,start [,end]]) -> int

SYNOPSIS

import pgtml2form
def rindex(s, sub, i = 0, last=None)

DESCRIPTION

Return the highest index in s where substring sub is found, such that sub is contained within s[start,end]. Optional arguments start and end are interpreted as in slice notation.

Raise ValueError if not found.

SEE ALSO

pgtml2form


Generated by HTMLFormatter at Fri Dec 20 18:58:44 2002