ExplodedString ( Field )
Rate this function: Average rating: 3.9 (15 votes) Discuss this Custom Function
David Woodyard, Woody Digital
http://www.woodydigital.com
Generates a multi-key field containing all leading characters of each word from a string of text entered into a text field.
Sample Input:
| ExplodedString ( StringFieldName ) |
|
Sample Output:
StringFieldName = "what the heck"
Returns:
w
wh
wha
what
t
th
the
h
he
hec
heck |
|
Description:
Based on the MultiFieldExplode custom function introduced to me by Chad Adams. Instead of multiple fields, this function works on a single field with multiple words. You'll need to trap for a single word occurrence as well as any paragraph returns.
Requires the original custom function "ExplodedKey" which was introduced to me by Andrew LeCates.
ExplodedKey ( Text ) =
If (
Length ( Text ) > 1 ;
ExplodedKey ( Left ( Text ; Length ( Text ) - 1 ) ) & "¶" & Text ;
Text
)
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) |
 |
|
What a piece of garbage. It simple does not work!
Tim Griffith, St. Louis, MO
February 26, 2012 5:41pm