Difference between revisions of "Manuals/calci/FIND"
Jump to navigation
Jump to search
| Line 20: | Line 20: | ||
==Examples== | ==Examples== | ||
| + | <div id="6SpaceContent" class="zcontent" align="left"> | ||
| + | {| id="TABLE3" class="SpreadSheet blue" | ||
| + | |- class="even" | ||
| + | | class="ssh1_f" |UNITED STATES OF AMERICA | ||
| + | | class=" " | | ||
| + | | class=" " | | ||
| + | |||
| + | |- class="odd" | ||
| + | | class="ssh1_f" |30338 | ||
| + | | class=" " | | ||
| + | | class=" " | | ||
| + | |||
| + | |- class="even" | ||
| + | | class="ssh1_f" |student | ||
| + | | class=" " | | ||
| + | | class=" " | | ||
| + | |||
| + | |- class="odd" | ||
| + | | class="ssh1_f" |Personal | ||
| + | | class=" " | | ||
| + | | class=" " | | ||
| + | |||
| + | |} | ||
| + | {| id="TABLE3" class="SpreadSheet blue" | ||
| + | |- class="even" | ||
| + | | | ||
| + | ! A | ||
| + | ! B | ||
| + | ! C | ||
| + | ! D | ||
| + | |- | ||
| + | |- class="odd" | ||
| + | |1 | ||
| + | |UNITED STATES OF AMERICA | ||
| + | |- class="even" | ||
| + | |2 | ||
| + | |30338 | ||
| + | |- class="odd" | ||
| + | |3 | ||
| + | |student | ||
| + | |- class="even" | ||
| + | |4 | ||
| + | |Personal | ||
| + | |} | ||
==See Also== | ==See Also== | ||
*[[Manuals/calci/FINDB | FINDB ]] | *[[Manuals/calci/FINDB | FINDB ]] | ||
Revision as of 10:31, 5 June 2015
FIND (txt,txtst,n)
- 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} is the text you want to find.
- 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 txtst} is the text or string that contains the text you want to find.
- 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 n} is the number to start the search.
Description
- FIND is used to locate the starting position of a search text in another string. ie, it will search the text inside another string and will return the starting position of the text inside the string.
- First character 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 n} is character number 1. By default 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 n} is assumed to be 1 and is optional.
- FIND is used with languages that use the single-byte character set(SBCS).
- 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
- 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 FIND} counts each character. It wont depend on default language setting.
- 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 FINDB} counts double-byte character as 2.
- 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 FIND} 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 FINDB} are case sensitive. It won't allow wildcard characters.
- 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 txt} is "" (NULL), FIND matches with the first character in the search string.
It will return ERROR when:
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 txt}
must not be wildcard characters.
2.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 txt}
is not there 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 textstring}
3.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 n}
is greater than the length of 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 txtst}
.