Difference between revisions of "Documentation/How Tos/Calc: FIND function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (talk | contribs) m (Robot: Automated text replacement %s) |
|||
Line 21: | Line 21: | ||
: returns <tt>'''5'''</tt>. | : returns <tt>'''5'''</tt>. | ||
− | + | {{Documentation/SeeAlso| | |
− | + | * [[Documentation/How_Tos/Calc: REPLACE function|REPLACE]] | |
− | + | * [[Documentation/How_Tos/Calc: SEARCH function|SEARCH]] | |
− | + | * [[Documentation/How_Tos/Calc: SUBSTITUTE function|SUBSTITUTE]] | |
− | + | * [[Documentation/How_Tos/Calc: EXACT function|EXACT]]''' | |
− | + | * [[Documentation/How_Tos/Calc: Text functions|Text functions]]''' | |
− | [[Documentation/How_Tos/Calc: Functions listed alphabetically| | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] |
− | [[Documentation/How_Tos/Calc: Functions listed by category| | + | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} |
Revision as of 13:48, 25 February 2009
FIND
Returns the position of a string of text within another string.
Syntax:
FIND(findtext; texttosearch; startposition)
- returns the character position of the first occurrence of findtext within texttosearch.
- startposition (optional) is the position from which the search starts.
- The search is case-sensitive.
- A failed search gives the #VALUE! error.
Example:
FIND("yo"; "Yoyo")
- returns 3.
FIND("cho"; "choochoo"; 2)
- returns 5.