Difference between revisions of "Manuals/calci/SEARCHB"
Jump to navigation
Jump to search
(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...") |
|||
| Line 1: | Line 1: | ||
| − | + | =SEARCHB(ftext, otext, snum)= | |
| − | + | where | |
| + | *<math>ftext</math> is the text to search in original string, | ||
| + | *<math>otext</math> is the original string from which mentioned text is to be searched, and | ||
| + | *<math>snum</math> is an optional argument that specifies the character position to start the search. | ||
| − | + | SEARCHB() identifies the occurrence of specified text string from the original string and returns the starting position of the matched string. | |
| − | + | == Description == | |
| − | + | SEARCHB(ftext, otext, snum) | |
| − | + | For Example, | |
| − | + | SEARCHB("C", "WELCOME",1) returns ''4'' | |
| − | |||
| − | |||
| − | SEARCHB | + | *SEARCHB function can be used to find text within a text. SEARCHB counts 2 bytes per character. SEARCHB is intended for languages that use double-byte character set (DBCS). |
| + | *<math>otext</math> can be any string containing characters, numbers, symbols, blank spaces etc. | ||
| + | *<math>ftext</math> and <math>otext</math> when directly entered in the command, should be enclosed in double quotes (e.g. "Name"). | ||
| + | *Argument <math>snum</math> is optional. If omitted, Calci assumes to be 1. | ||
| + | *<math>snum</math> should be an integer > 0, else Calci displays #NULL error message. | ||
| + | *If <math>snum</math> > 'length of text', Calci displays #N/A error message. | ||
| + | *If string specified in <math>otext</math> is not a part of the reference string <math>txt</math>, Calci returns #N/A error string. | ||
| + | *SEARCHB function is not case sensitive. | ||
| − | + | == 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" |<#>!!! | ||
| + | | class=" " | | ||
| + | | class=" " | | ||
| − | + | |- class="even" | |
| + | | class="ssh1_f" | | ||
| + | | class=" " | | ||
| + | | class=" " | | ||
| − | + | |} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | =SEARCHB("I", A1) : Returns '''8''' as output. | |
| + | =SEARCHB(">", A2) : Returns '''3''' as output. | ||
| − | < | + | <font color ="Red">Need to give examples with characters/language supporting DBCS </font> |
| + | == See Also == | ||
| − | + | *[[Manuals/calci/SEARCH | SEARCH]] | |
| + | *[[Manuals/calci/REPLACEB | REPLACEB]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ==References== | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | *[http://en.wikipedia.org/wiki/Autocorrection Find and Replace] | |
| − | |||
Revision as of 10:01, 11 February 2014
SEARCHB(ftext, otext, snum)
where
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle ftext} is the text to search in original string,
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle otext} is the original string from which mentioned text is to be searched, and
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle snum} is an optional argument that specifies the character position to start the search.
SEARCHB() identifies the occurrence of specified text string from the original string and returns the starting position of the matched string.
Description
SEARCHB(ftext, otext, snum)
For Example,
SEARCHB("C", "WELCOME",1) returns 4
- SEARCHB function can be used to find text within a text. SEARCHB counts 2 bytes per character. SEARCHB is intended for languages that use double-byte character set (DBCS).
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle otext} can be any string containing characters, numbers, symbols, blank spaces etc.
- and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle otext} when directly entered in the command, should be enclosed in double quotes (e.g. "Name").
- Argument Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle snum} is optional. If omitted, Calci assumes to be 1.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle snum} should be an integer > 0, else Calci displays #NULL error message.
- If Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle snum} > 'length of text', Calci displays #N/A error message.
- If string specified in Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle otext} is not a part of the reference string Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle txt} , Calci returns #N/A error string.
- SEARCHB function is not case sensitive.
Examples
| JOHN SMITH | ||
| <#>!!! | ||
=SEARCHB("I", A1) : Returns 8 as output.
=SEARCHB(">", A2) : Returns 3 as output.
Need to give examples with characters/language supporting DBCS
See Also