PositionValues( text; searchValue; occurrence )
Rate this function: Average rating: 3.0 (11 votes) Discuss this Custom Function
Bruce Robertson, Concise Design
http://concise-design.com
Return value position (line number) in list of all occurrences of searchValue
Sample Input:
| positionValues( "A¶B¶A¶C¶D"; "A¶D"; 1) |
|
Sample Output:
|
Description:
Multi-value version of the positionValue function. Return the line number of all items in a list where the item = searchValue. Usually you will want to enter 1 for occurrence to find all values. If you enter a number other than one, and your searchValue is in the form of a list, the offset will only be honored for the first item in the list.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:
|
Newest Custom Functions:
| 1. |
CountWordOccurrences ( text ; searchWord ) |
| |
(Tue, Feb 07, 11:15am) |
| 2. |
indonesian_date(date) |
| |
(Mon, Feb 06, 7:14pm) |
| 3. |
phpArrayValue ( array ; key ; pos ) |
| |
(Fri, Jan 27, 1:49pm) |
| 4. |
solfm_timeToMinutes (theTime;roundSec) |
| |
(Fri, Jan 20, 6:26am) |
| 5. |
filterLines(filterField;filterValue;Result) |
| |
(Sat, Jan 14, 2:20pm) |
| 6. |
getMaxValue ( theList ) |
| |
(Thu, Jan 12, 1:06pm) |
| 7. |
MiddleWordsIncPunct ( text ; startingWord ; numberOfWords ) |
| |
(Sat, Jan 07, 9:16am) |
| 8. |
WindowInfo |
| |
(Fri, Jan 06, 12:39pm) |
 |
|