TransformValues( ValueList; Pattern )
Rate this function: Average rating: 3.5 (11 votes) Discuss this Custom Function
Peter Vinogradov, Peter Vinogradov Consulting
http://www.PeterVinogradov.com
Transforms each item in ValueList based on Pattern
Sample Input:
TransformValues(
fieldnames ( get(filename);"People");
"<<@MF>>"
) |
|
Sample Output:
<< FirstName >>
<< LastName >>
<< DOB >>
(Where the fields in the "People" table are FirstName, LastName, and DOB) |
|
Description:
Use this function to transform values in a list according to a specific pattern. Useful in combination with the Evaluate() function.
This function requires the <b>TrimReturns</B> function submitted by Kieren MacMillan
NOTE: You must use the characters "@MF" within the "Pattern" parameter wherever you want the current value to appear.
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) |
 |
|