Differences

This shows you the differences between two versions of the page.

Link to this comparison view

a_f:f:99_a:index_of [2022/09/01 06:37] – created - external edit 127.0.0.1a_f:f:99_a:index_of [2022/09/02 02:41] (current) – ↷ Page moved from a_f:f:99_a:index_of to a_f:f:f:index_of administrator
Line 1: Line 1:
-{{tag>Functions Function_List Text}} 
-====== INDEX_OF ======  
-===== Description =====   
-Returns an integer constant indicating the index of the first string within the second string. For example, 
- 
-''INDEX_OF(‘fox’, ‘red fox’)''  
- 
-returns 5. If the first string is not contained within the second one 0 is returned.  
-===== Parameters =====   
-Two attributes of the Plain Text type or two string constants or calculations producing text. A third parameter can be optionally specified – this parameter indicates occurrence number of the first string in the second string. 
-===== Example =====   
-<code aim>IF INDEX_OF ('Smith', Account.Name) = 0 THEN ... </code> 
- 
  
  • Last modified: 2022/09/13 18:12