a customFunction for hiliting text in a field with following advantages:
Sample Input:
cfHiliteText("This is no JavaScript."; "java Is"; RGB( 255 ; 0; 0 ) ; bold)
Sample Output:
This {is} no {Java}Script.
Values in curly braces are formatted red and bold.
Description:
A very fast customFunction for hiliting text in a field with following advantages:
- not case sensitive
- skipped/disordered words in a search string
originally developed by Felix Hausberner, Germany
textstyle added by Martin D. Brunner, Switzerland
syntax: cfHiliteText( text; searchText; colorRGB ; textStyle )
calling: cfHiliteText("This is no JavaScript"; "java is"; RGB( 255 ; 0; 0 ) ; bold)
result: "This {is} no {Java}Script" where values in curly braces are red and bold.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
Instant Messaging for your FileMaker Pro network. Click
here.
Custom Function Authors:
Link to all of your own custom functions on this site with the following URL:
http://www.briandunning.com/filemaker-custom-functions/results.php?author=Your
Name Here