ItemIndexPosition ( Text ; SearchString )
To find the position of a value in a given list
Average rating: 4.2 (31 votes) Log in to vote
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This one line function first trims the list upto the search string and then takes the valuecount which will be index position of the searched string.
SearchString = "22"
Left ( Text ;Position ( ¶ & Text & ¶ ; ¶ & SearchString & ¶ ; 1 ; 1 ))
ValueCount ("1¶2¶14¶5¶222¶12¶2" ) = 7
Jul 30, 2015
|Or if you prefer:
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.