Brian Dunning's FileMaker Custom Functions

Portal_Filter_Char ( Char_Source ; Char_Number ; Char_Prefixe )

Portal Filter Recursive

  Average rating: 4.0 (35 votes) Log in to vote

Joel Englander   Joel Englander
Joel Englander
http://www.asymptotes.com

Share on Facebook Share on Twitter

  Sample input:
Let ( [
word = MiddleWords ( Word_Source ; Word_Number ; 1 ) ;
key = If ( Word_Number > 1 ; Portal_Filter_Word ( Word_Source ; Word_Number - 1 ; Word_Prefixe ) ; "" )
& Portal_Filter_Char ( word ; Length ( word ) ; Word_Prefixe )
] ;
key
)
  Sample output:

f1-J
f1-Je
f1-Jea
f1-Jean
f1-d
f1-de
f1-L
f1-La
f1-T
f1-To
f1-Tou
f1-Tour
f1-C
f1-Ci
f1-Cie
f1-Cies
f2-9
f2-95
f2-r
f2-ru
f2-rue
f2-d
f2-de
f2-des
f2-g
f2-gr
f2-gra
f2-gran
f2-grand
f2-grands
f2-c
f2-ch
f2-cha
f2-cham
f2-champ
f2-champs
f3-7
f3-75
f3-750
f3-7502
f3-75020
f4-P
f4-Pa
f4-Par
f4-Pari
f4-Paris
f5-F
f5-Fr
f5-Fra
f5-Fran
f5-Franc
f5-France
dummy_value

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

It is used by Portal_Filter_Word

 

Comments

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: