FlagGender ( text )
Rate this function: Average rating: 3.2 (14 votes) Discuss this Custom Function
Peter Vinogradov, Peter Vinogradov Consulting
http://www.petervinogradov.com
Flags gender pronouns in text with caps and brackets.
Sample Input:
| FlagGender ( "We look forward to hearing from him." ) |
|
Sample Output:
| "We look forward to hearing from [ HIM ]." |
|
Description:
For taking a letter or other text and quickly converting it into a template for mailmerges, etc. Makes it easy to identify gender pronouns.
I'm sure there's a more elegant way to do this, but this seems to get the job done.
- updated 6/13/06 to include "himself" and "herself".
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) |
 |
|