Searches for a string in a given direction from the current position.
Original signature is '- (BOOL)searchFor:(NSString *)string direction:(BOOL)directionFlag caseSensitive:(BOOL)caseFlag wrap:(BOOL)wrapFlag'
Available in Mac OS X v10.2 with Safari 1.0 and later.


- string (NSString)
- The string to search for.
- directionFlag (Boolean)
- If YES, the search is in the forward direction from the current location; otherwise, the search is in the backward direction.
- caseFlag (Boolean)
- If YES then the search is case sensitive; otherwise, it is not.
- wrapFlag (Boolean)
- If YES, the search continues from the end of the document to the current location; otherwise, it stops at the end of the document.

YES if the receiver contains string in the specified direction; otherwise, NO.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)