|
ƒilter ( text ; AZazƒ09etc )
Rate this function: Average rating: 5.0 (1 vote)Thomas Seidler, The Good Book Company
http://www.harmlesswise.com/it
FilterC built to handle foreign characters (and a bit more)
Sample Input:
ƒilter ( "ÜMLaüt" ; "AZaz" )
ƒilter ( "ÜMLaüt" ; "AZazƒ" )
ƒilter ( "ÜMLaüt" ; "AZƒ" )
ƒilter ( "ÜMLaüt" ; "azƒ" )
|
|
Sample Output:
|
Description:
I would have updated FilterC, but cos this is so much more complex than FilterC – on account of handling foreign characters tolerably well – I really thought it merited a separate function. Look at FilterC to understand the principles in simplicity [also a more varied example of usage]. Then come here if you need to deal with foreign characters - keep them in some fields, exchange and control in others.
Filemaker is actually quite clever as it replaces almost all in searching anyway - but Stølen will not find Stolen and Stolen will not find Stølen, so in some instances a pain, therefore having guaranteed clean keys could be helpful.
Principle use to me is to not chop foreigns out when filtering - you don't want to. 'Ümlaüt' being AZaz filtered down to 'Umlaut' is OK behaviour, but to filter it to 'mlat' is not. Hence default behaviour added.
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
|
Newest Custom Functions:
| 1. |
array.cellValueByColTitle (array ; rowName ; column ; delimiter ; useTitle ) |
| |
(Mon, Jan 05, 5:39pm) |
| 2. |
array.cellValueByColNum ( array ; rowName ; column ; delimiter ) |
| |
(Mon, Jan 05, 11:09am) |
| 3. |
EmailName ( account ) |
| |
(Fri, Jan 02, 7:46pm) |
| 4. |
GetFileName ( FullName ) |
| |
(Tue, Dec 30, 1:46pm) |
| 5. |
Intersection Set ( ListA ; ListB ) |
| |
(Mon, Dec 29, 7:32pm) |
| 6. |
NumberFormat ( Number ; DecimalPrecision ; ThousandSeparator ) |
| |
(Wed, Dec 17, 1:23pm) |
| 7. |
SwitchList ( ListA ; ListB ; CaseSensitive ) |
| |
(Wed, Dec 17, 3:28am) |
| 8. |
RandomList ( ListToRandom ) |
| |
(Wed, Dec 17, 2:50am) |
 |
|