Pymmapfile.find

int = find(needle, start )

Finds a string in the buffer.

Parameters

needle : str

String to be located

start : int

Pos at which to start search, current pos assumed if not specified

Return Value

Returns pos of string, or -1 if not found