Brian Dunning's FileMaker Custom Functions

DashInsert ( text )

Returns the given text with dashes between numbers and chars

  Average rating: 4.2 (32 votes) Log in to vote

Daniele Raybaudi   Daniele Raybaudi
ACI
http://www.aci.it

Share on Facebook Share on Twitter

  Sample input:
item123ab78
abc12578as23
  Sample output:
ITEM-123-AB-78
ABC-12578-AS-23

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

Returns the given text with dashes between numbers and chars; all chars will be in the Upper format.

 

Comments

Andreas Thyholdt   Andreas Thyholdt, dbConsult AS
Feb 17, 2011
Thanks for this. Good job. I took the liberty to use this as a template for the SeparatorInsert function that I uploaded to the library.
 

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.