FilterASCII ( text ; extended )
Removes characters from text, retaining only printable ASCII characters.
Average rating: 4.3 (38 votes) Log in to vote
*COMMENT Visual Realisation
FilterASCII ( "$10 (£8) to Mæstro Hœfler, ©2010 Résumé & Co.
$10 (£8) to Mæstro Hfler, ©2010 Résumé & Co.
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Removes characters from text, retaining only printable characters included in the American Standard Code for Information Interchange (US-ASCII) character set.
The following characters are passed by the filter:
• Horizontal Tab ;
• Carriage return ;
• Space ;
• Characters ...
When the extended parameter is True(1), characters in the extended ASCII character set range .. are also passed.
This function is NOT recursive.
Bart Bartholomay, Vero Beach
Mar 27, 2011
|In your second example I notice that the "œ" should be retained under "extended".|
Mar 27, 2011
|No, it shouldn't. The example is designed to demonstrate the difference between "æ" , a member of the extended ASCII charset, and "œ" . The highest code in the set is 255.|
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.