Brian Dunning's FileMaker Custom Functions

IsControlChar ( f_Char )

Tests if a character is an ASCII control character

  Average rating: 4.5 (26 votes) Log in to vote

Neal Elward   Neal Elward
Extreme Reach

Share on Facebook Share on Twitter

  Sample input:
IsControlChar ( "a" )
  Sample output:
0

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

This function will check if the passed character appears to be an ASCII control character. Control characters typically end up in FileMaker fields mistakenly, and can cause problems with XML exports (particularly if there is an XSL transformation).

A good way to use this function is to call it from another function that recurses through a string.

 

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.

Under construction. Email me your wish list for improvements.