Software Venture Consulting
ToMarket

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Brian Dunning
Contact me | vCard


Brian on CNN
Brian on CNN


Brian on CBS Radio


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 FileMaker Pro Custom Functions

Search  |  List  |  Show Random  |  Upload  |  Add This to Your Site

AllTextCombinations ( theText ; stackDepth )

Jeremy Bante, OshVay Systems, Inc.
http://www.oshvay.com

recursively subsets a text string into [almost] all possible subsets, return delimited, debatably suitable for multi-line key foreign side of Portal search relationships

Sample Input:
AllTextCombinations( "abcd"; 0)
Sample Output:
abcd
abc
ab
a
b
bc
b
c
bcd
bc
b
c
cd
c
d


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

if you have myFMbutler's Clip Manager installed

Description:

This is a revised version of Peter Gort's AllTextCombinations(theText) function designed to better handle FileMaker's limited function-call stack. It _will_not_ work perfectly for text of any length, but it should work pretty well for shorter strings. Unfortunately, it is very slow and inefficient at what it does in comparison to the oAzium Portal Filter plug-in: the size of the result roughly doubles for each of the first 15 characters! Furthermore, this function will only evaluate "properly" for the first 105 characters of theText.

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

digg this page | del.icio.us this page

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. PVofFV ( FutureVal , Interest , Term )
  (Sat, May 10, 6:52pm)
2. Edate ( thedate ; months )
  (Sat, May 10, 5:21pm)
3. FormatDate( DatetoFormat )
  (Thu, May 08, 6:05pm)

RSS Feed of Custom Functions

Quick Poll...
Are you mainly Mac
or mainly Windows?
 • Mac
 • Windows
View the answers

ChartMaker Pro 7

Charts and graphs in your FileMaker 5/6/7/8 solution without a plug-in. 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