MatchPrefix ( theList ; thePrefix )
Rate this function: Average rating: 3.8 (6 votes) Discuss this Custom Function
Jeremiah Small, Soliant Consulting
http://jsmall.us
Returns first value in a list that matches the supplied prefix.
Sample Input:
MatchPrefix ("
ItemA1¶
ItemB1¶
ItemB2
" ; "ItemB" ) |
|
Sample Output:
|
Description:
Updated so List parameter doesn't conflict with new native List function.
Returns the first value from a list that matches the supplied prefix.
This CF was designed to aid in window management. When the list supplied is the function WindowNames, the CF returns the first open window name that matches the supplied prefix. Used in conjunction with a looping routine that is run prior to opening a new window with the name "Example", you can ensure that any existing windows that begin with "Example" are closed before invoking the new "Example" window. This is useful in defeating proliferation of windows created with the New Window command that share the same base name as their master window, but have numbered suffixes.
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. |
TimeCodeCalculations ( TCSMPTE01 ; TCSMPTE02 ; FrameRateOr ; FrameRateNew ; CalcType ) |
| |
(Sat, Sep 04, 9:31pm) |
| 2. |
Fedex_Country ( Country ) |
| |
(Fri, Sep 03, 11:07am) |
| 3. |
GetResultParameter( ParameterName ) |
| |
(Wed, Aug 25, 8:32am) |
| 4. |
GetListParameter ( ParameterList ; ParameterName ) |
| |
(Wed, Aug 25, 8:25am) |
| 5. |
Standard_Deviation( Field ; MaxLoopCount ; StartIndex ; StdDeviation ; ArithMeanValue ) |
| |
(Tue, Aug 24, 10:57am) |
| 6. |
Arithmetic_Mean ( Field ; MaxLoopCount ; StartIndex ; MeanValue ) |
| |
(Tue, Aug 24, 10:51am) |
| 7. |
Age ( Birth; theDate; Format ) |
| |
(Fri, Aug 20, 9:50am) |
| 8. |
Power ( x ; y ) |
| |
(Thu, Aug 19, 5:56am) |
 |
|