Manuals/calci/SEARCHB

From ZCubes Wiki
Revision as of 20:44, 24 October 2013 by MassBot1 (talk | contribs) (Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''SEARCHB'''(Text,Within_text, Start_num) where, '''Text''' - is the text string to extract. '''Within_te...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SEARCHB(Text,Within_text, Start_num)

where,

Text - is the text string to extract.

Within_text- represents the text, find from Text.

Start_num - the character number in Within_text to start.


SEARCHB locate one text string within a second text string, and returns the number of the starting position of the first string from the first character of the second text string. SEARCHB is intended for use with languages that use the double-byte character set (DBCS).


If Start_num < 0, SEARCHB returns #ERROR.

If Start_num  > length of Text, SEARCHB returns #ERROR.

If Within_text not found , it returns #ERROR.

If Start_num  not defined then it returns the length of Text.


SEARCHB


Lets see an example in (Column1, Row2)

=SEARCHB("S", R1C1, 3)

SEARCHB returns 6.

Lets see an another example in (Column1,Row3)

=SEARCHB("I",R1C1)

SEARCHB returns 8.

Consider an example in (Column1, Row4)

=SEARCHB("b",R1C1)

SEARCHB returns #ERROR(TEXT not found).


Syntax

Remarks

Examples

Description

Default Calci
Column1 Column2 Column3 Column4
Row1 JOHN SMITH
Row2 6
Row3 8
Row4 #ERROR
Row5
Row6
TABLE3 File:Calci1.gif

File:Bold.gif

File:Italic.gif

File:Normal.gif

File:Underline.gif

File:Border.gif

File:Numbers.gif

File:Sort.gif

File:Formatcells.gif

File:Graphs.gif

$