Difference between revisions of "Manuals/calci/FINDB"
Jump to navigation
Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''FINDB'''(Find_text,Within_text,Start_num) where, '''Find_text''' is the text string to find. '''Within_...") |
|||
Line 1: | Line 1: | ||
− | <div | + | <div style="font-size:30px">'''FINDB (txt,txtst,n)'''</div><br/> |
+ | *<math>txt</math> is the text you want to find. | ||
+ | *<math>txtst</math> is the text or string that contains the text you want to find. | ||
+ | *<math>n</math> is the number to start the search. | ||
− | + | FINDB() is used to locate the starting position of a search text in another string. | |
− | + | ==Description== | |
− | + | FINDB (txt,txtst,n) | |
− | ''' | + | e.g. FINDB("U","FUNCTION",1) returns ''2'' |
− | ' | + | *FINDB searches the text inside another string and returns the starting position of the text inside the string. |
+ | *FINDB is used with languages that use the double-byte character set (DBCS). | ||
+ | *The default language of your computer will result in the return value | ||
+ | *FINDB counts double-byte character as 2. | ||
+ | *FIND and FINDB are case sensitive. It won't allow wildcard characters. | ||
+ | *If <math>txt</math> is "" (NULL), FINDB matches with the first character in the search string. | ||
+ | *If <math>txt</math> is not there in <math>txtst</math>, Calci returns #ERROR message. | ||
+ | *By default <math>n</math> is assumed to be 1 and is optional. | ||
+ | *<math>n</math> should be an integer >gt; 0. | ||
+ | *If <math>n</math> is greater than the length of <math>txtst</math>, Calci returns #ERROR message. | ||
− | + | ==Examples== | |
− | |||
− | |||
− | + | <div id="6SpaceContent" class="zcontent" align="left"> | |
− | + | {| id="TABLE3" class="SpreadSheet blue" | |
− | - | + | |- class="even" |
− | + | | class="ssh1_f" |JOHN SMITH | |
+ | | class=" " | | ||
+ | | class=" " | | ||
− | + | |- class="odd" | |
+ | | class="ssh1_f" |Password | ||
+ | | class=" " | | ||
+ | | class=" " | | ||
− | + | |- class="even" | |
+ | | class="ssh1_f" | | ||
+ | | class=" " | | ||
+ | | class=" " | | ||
− | + | |} | |
− | + | =FINDB("T", A1) : Returns '''9''' as output. | |
+ | =FINDB("word", A2,5) : Returns '''5''' as output. | ||
− | + | ==See Also== | |
− | + | *[[Manuals/calci/FIND | FIND ]] | |
+ | *[[Manuals/calci/SEARCHB | SEARCHB ]] | ||
− | + | ==References== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | *[http://en.wikipedia.org/wiki/Autocorrection Find and Replace] | |
− |
Revision as of 15:43, 11 February 2014
FINDB (txt,txtst,n)
- is the text you want to find.
- is the text or string that contains the text you want to find.
- is the number to start the search.
FINDB() is used to locate the starting position of a search text in another string.
Description
FINDB (txt,txtst,n)
e.g. FINDB("U","FUNCTION",1) returns 2
- FINDB searches the text inside another string and returns the starting position of the text inside the string.
- FINDB is used with languages that use the double-byte character set (DBCS).
- The default language of your computer will result in the return value
- FINDB counts double-byte character as 2.
- FIND and FINDB are case sensitive. It won't allow wildcard characters.
- If is "" (NULL), FINDB matches with the first character in the search string.
- If is not there in , Calci returns #ERROR message.
- By default is assumed to be 1 and is optional.
- should be an integer >gt; 0.
- If is greater than the length of , Calci returns #ERROR message.
Examples
JOHN SMITH | ||
Password | ||
=FINDB("T", A1) : Returns 9 as output. =FINDB("word", A2,5) : Returns 5 as output.