Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Contact


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 

 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

SeparateStringtypes ( text ; separator )

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 4.3  (33 votes)
  Discuss this Custom Function

Maarten Witberg, maarten witberg kennis van data
http://maartenwitberg.nl

inserts Separator between numeric and other characters.

Sample Input:
SeparateStringtypes ( "ABC123Z" ; "-" )
Sample Output:
ABC-123-Z


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed

Description:

This function was written to format user-defined product serials that consist of alphanumeric strings. Original question posed here: http://www.filemakertoday.com/com/showthread.php/29875-Separate-text-and-number

The function is recursive. From the rightmost character it compares two adjacent characters and inserts separator where they don't match. Then recurses to the next character by entering the input text minus 1 character.
Please note that any non-numerical character is treated as text, so $&#% are bracketed in with alpha characters.

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

Discuss:

How I can convert a field containing numeric and alpha to text.
Example:
Z45 = Z four five
ML7899+ ML seven eight nine nine
642103 = six zero three two one four
7552.32= seven five five two. trhee two

Thanks
j2133070852@yahoo.com

jose, Los Angeles, California
September 05, 2013 10:44am

Hi Jose,

Well this function was not designed for that purpose. There are to the best of my knowledge various custom functions available here at Briandunning.com that can do what you want. For instance http://www.briandunning.com/cf/106 . That function is not by me and I have not tested it.

Good luck,

Maarten

Maarten Witberg, Arnhem NL
September 05, 2013 11:42am

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
City/Location:
Comment:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 7 + 8 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. decFromHex ( hexValue )
  (Mon, Oct 16, 12:34pm)
2. MonthYearList ( startmonth ; startyear ; numbermonth ; short )
  (Mon, Oct 16, 3:38am)
3. ErrorDescription ( errorNumber )
  (Wed, Sep 27, 2:51am)
4. decodeEntities (text)
  (Wed, Sep 27, 1:22am)
5. HexidecimalToNumber ( HexidecimalValue ; counter )
  (Mon, Sep 25, 12:39pm)
6. FixedFieldConverter ( Fieldname ; f1 ; f2 ; f3 ; f4 ; f5 ; f6 ; f7 ; f8 ; f9 ; f10 ; f11 ; f12 ; f13 ; f14 ; f15 ; f16 ; f17 ; f18 ; f1
  (Fri, Sep 15, 12:34pm)
7. ShannonEntropy ( text )
  (Thu, Sep 07, 5:59am)
8. LetterCount ( text ; summary )
  (Thu, Sep 07, 5:53am)

RSS Feed of Custom Functions