Difference between revisions of "Manuals/calci/FIND"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> <font color="#000000"><font face="Arial, sans-serif"><font size="2">'''BIN2OCT'''</font></font><font face="Arial, sans-...")
 
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left"> <font color="#000000"><font face="Arial, sans-serif"><font size="2">'''BIN2OCT'''</font></font><font face="Arial, sans-serif"><font size="2">(</font></font><font face="Arial, sans-serif"><font size="2">'''num'''</font></font><font face="Arial, sans-serif"><font size="2">, p)</font></font></font>
+
<div style="font-size:30px">'''FIND (FindText,WithinText,StartNumber) '''</div><br/>
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">Where 'num' is the binary number want to convert, and 'p' is the number of characters to use</font></font></font>
+
*<math>FindText</math> is the text you want to find.
 +
*<math>WithinText</math> is the text or string that contains the text you want to find.
 +
*<math>StartNumber</math> is the number to start the search.
 +
**FIND(),finds one text value within another (case-sensitive).
  
</div>
+
==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.
<div id="1SpaceContent" class="zcontent" align="left"> <font color="#484848"><font face="Arial, sans-serif"><font size="2">It calculates the starting position of the first text string from the first character of the second text string. </font></font></font></div>
+
*First character in <math>n</math> is character number 1. By default <math>n</math> is assumed to be 1 and is optional.
----
+
*FIND is used with languages that use the single-byte character set(SBCS).
<div id="7SpaceContent" class="zcontent" align="left"> 
+
*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
 +
#<math>FIND</math> counts each character. It wont depend on default language setting.
 +
#<math>FINDB</math> counts double-byte character as 2.
 +
*<math>FIND</math> and <math>FINDB</math> are case sensitive. It won't allow wildcard characters.
 +
*If <math>FindText</math> is "" (NULL), FIND matches with the first character in the search string.
 +
It will return ERROR when:
 +
1.<math>FindText</math> must not be wildcard characters.
 +
2.If <math>FindText</math> is not there in <math>WithinText</math>
 +
3.If <math>StartNumber</math> is greater than the length of <math>WithinText</math>.
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">FINDcase sensitive and don't allow wildcard characters. </font></font></font>
+
==Examples==
 
+
<div id="6SpaceContent" class="zcontent" align="left">
<font color="#484848"><font face="Arial, sans-serif"><font size="2">ftxt cannot contain any wildcard characters. </font></font></font>
 
 
 
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
 
FIND
 
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">Let’s see an example in (D2)</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">I.e.=FIND('e',D2) where D2is Beauty</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">is 2</font></font></font>
 
 
 
</div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
  
 
{| id="TABLE3" class="SpreadSheet blue"
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
|- class="even"
| class=" " |
+
|  
| Column1
+
! A
| class="  " | Column2
+
|-
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="  " | Beauty
 
| class="sshl_f" |
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f" | 2
 
|
 
|
 
|
 
 
|- class="odd"
 
|- class="odd"
| Row3
+
|1
| class="                                      sshl_f              SelectTD SelectTD" |
+
|UNITED STATES OF AMERICA
<div id="2Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
|
 
|
 
|
 
 
|- class="even"
 
|- class="even"
| Row4
+
|2
|
+
|30338
|
 
|
 
| class="  " |
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row5
+
|3
|
+
|student
|
 
|
 
|
 
 
|- class="even"
 
|- class="even"
| Row6
+
|4
|
+
|Personal
|
 
|
 
|
 
 
|}
 
|}
 +
*=FIND("STATES",A1) = 8
 +
*=FIND("dent",A3) = 4
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|43L6SNVoGdM|280|center|FIND Function}}
 +
 +
==See Also==
 +
*[[Manuals/calci/FINDB | FINDB ]]
 +
*[[Manuals/calci/MID | MID ]]
 +
*[[Manuals/calci/MIDB | MIDDB ]]
 +
 +
==References==
 +
[http://www.techonthenet.com/excel/formulas/find.php Find]
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
*[[ Z3 |  Z3 home ]]
----
 

Latest revision as of 16:37, 9 August 2018

FIND (FindText,WithinText,StartNumber)


  • 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.
    • FIND(),finds one text value within another (case-sensitive).

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 is character number 1. By default 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
  1. counts each character. It wont depend on default language setting.
  2. counts double-byte character as 2.
  • and are case sensitive. It won't allow wildcard characters.
  • If is "" (NULL), FIND matches with the first character in the search string.

It will return ERROR when:

1. must not be wildcard characters.
2.If  is not there in 
3.If  is greater than the length of .

Examples

A
1 UNITED STATES OF AMERICA
2 30338
3 student
4 Personal
  • =FIND("STATES",A1) = 8
  • =FIND("dent",A3) = 4

Related Videos

FIND Function

See Also

References

Find