syntax:functions:find
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
syntax:functions:find [2015/04/03 10:43] – elenap | syntax:functions:find [2015/04/03 11:16] – elenap | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Find(text, string) ===== | ===== Find(text, string) ===== | ||
- | A search function that finds the position of specific text // string// in a //field// or in //text//. First character has index 1. | + | A search function that finds the exact position of specific text string in a field or in text. First character has index 1. |
+ | |||
+ | The search returns 1 (or other number depending on the position of //string// in //text//) in each line the //string// is found in. If //string// is not found, the search returns 0. | ||
- | The search returns 1 in each line the //string// is found in. If //string// is not found, the search returns 0. | ||
Both arguments are implicitly converted into text values, if required. | Both arguments are implicitly converted into text values, if required. | ||
Line 9: | Line 10: | ||
| find(' | | find(' | ||
- | To use with a field, when FieldA = city: | + | Examples using a field name: |
- | ^ Example | + | ^ Example |
- | | find([city],' | + | | find([Сity],' |
- | | find([city],' | + | | find([Сity],' |
- | | find([city],' | + | | find([Сity],' |
syntax/functions/find.txt · Last modified: 2021/08/14 22:04 by craigt