FIND/FINDB Function
The FIND/FINDB function is one of the text and data functions. Is used to find the specified substring (string-1) within a string (string-2). The FIND function is intended for languages that use the single-byte character set (SBCS), while FINDB - for languages that use the double-byte character set (DBCS) like Japanese, Chinese, Korean etc.
The FIND/FINDB function syntax is:
FIND(string-1, string-2 [,start-pos])
FINDB(string-1, string-2 [,start-pos])
where
string-1 is a string you are looking for,
string-2 is a string you are searching within,
start-pos is a position in a string where the search will start. It is an optional argument. If it is omitted, the funcion will start search from the beginning of the string.
The values can be entered manually or included into the cell you make reference to.
Note: if there are no matches, the function will return the #VALUE! error.
To apply the FIND/FINDB function,
- select the cell where you wish to display the result,
- click the Insert function icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click the icon situated at the formula bar, - select the Text and data function group from the list,
- click the FIND/FINDB function,
- enter the required arguments separating them by comma,
Note: the FIND/FINDB function is case-sensitive.
- press the Enter button.
The result will be displayed in the selected cell.