Brian Dunning's FileMaker Custom Functions

GetWords ( text ; string )

It returns all the words that contain a given string

  Average rating: 4.1 (31 votes) Log in to vote

Daniele Raybaudi   Daniele Raybaudi - Show more from this author
ACI
http://www.aci.it

Share on Facebook Share on Twitter

  Sample input:
GetWords("Apples and oranges are good fruits"; "r")
  Sample output:
oranges
are
fruits

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

It returns all the words that contain a given string in a return delimited format.

 

Comments

Dorian Cougias   Dorian Cougias, Oakland
Jan 21, 2011
Um, this is in Italian. Can anyone put this into English?
 
David   David
Jan 30, 2013
Dear Friend: I would like to use your function, but you haven't published the internal functions that use.
 
Daniele Raybaudi   Daniele Raybaudi, ACI
Jan 30, 2013
Hi

that was an old attempt to write a CF.
Try the modified one.
 
Oak   Oak, California
Oct 7, 2014
Get an 'out of memory error" using the example. FMP12
 
Raybaudi   Raybaudi, Rome
Oct 7, 2014
This custom function works with 9999 as the max number of recurtions.
If your text contains more words, the result is a "?"
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: