TX Sheet Control

SEARCHB Function

Function

Return the position of a text within another text in bytes, without regard to case. The arguments are those of SEARCH: the text to find, the text to search and the position to start at (1 when omitted). TX Sheet Control counts every character as one byte, including double-byte characters such as Japanese, so SEARCHB returns the same as SEARCH. Text that isn't found returns #VALUE!.

Syntax

SEARCHB(text, argument1, argument2)

Category: Text. Minimum arguments: 2. Maximum arguments: 3.

Available for supported offline calculation.

Examples

=SEARCHB("b","abc")

The formula returns 2.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also