Fixing SEARCH function to return error.value when text is not found

When I look at the MS documentation it says that:

If the value of find_text is not found, the #VALUE! error value is returned.

http://office.microsoft.com/en-001/excel-help/search-searchb-functions-HP010062577.aspx

A common trick is to use ISNUMBER(SEARCH("foo", "barbar")) which should return FALSE.