HiliteMulti ( text ; searchValues ; color )
Rate this function: Average rating: 3.9 (19 votes) Discuss this Custom Function
Michael Horak, *COMMENT Visual Realisation
http://comment.cjb.net/
Returns text with every occurrence of each value in searchValues in text changed to the specified color.
Sample Input:
HiliteMulti (
"Dogs, horses and cats" ;
"dog¶CAT" ;
RGB (255;0;0)
) |
|
Sample Output:
{Dog}s, horses and {cat}s
(the strings in curly braces are in red color) |
|
Description:
Returns text with every occurrence of each value in searchValues in text changed to the specified color.
The searchValues parameter accepts a list of multiple values, separated by carriage returns.
Requires the HiliteSingle() custom function.
The HiliteMulti() function is NOT case-sensitive. Occurrences of searchValues are matched regardless of case, and returned in their original case.
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:Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:
|
Newest Custom Functions:
| 1. |
list.intersect (listA; listB) |
| |
(Mon, May 14, 12:43pm) |
| 2. |
WeekStart ( weekOfYear ; year ) |
| |
(Sat, May 12, 8:42am) |
| 3. |
PercentToWords (FIELD) |
| |
(Thu, May 10, 3:16pm) |
| 4. |
PercentToText (FIELD) |
| |
(Thu, May 10, 2:37pm) |
| 5. |
StripReserved( text ) |
| |
(Wed, May 02, 6:05pm) |
| 6. |
ListBaseTables |
| |
(Wed, May 02, 3:48pm) |
| 7. |
ValidEmail( theEmail ) |
| |
(Wed, May 02, 7:27am) |
| 8. |
UltraDate (Text; LongDate_or_DateDigit) |
| |
(Wed, May 02, 6:07am) |
 |
|
Doesn't work: none of the values are highlighted... Is this a known issue?
Thanks
Daan
Daan Van den Nest, Ghent, Belgium
March 22, 2009 7:51am