Brian Dunning's FileMaker Custom Functions

SortValue ( Value ; AscDes )

Sort return-separated text.

  Average rating: 4.0 (3 votes) Log in to vote

Koji Takeuchi   Koji Takeuchi
TonicNote, Inc.
https://tonic-note.com

Share on Facebook Share on Twitter

  Sample input:
SortValue ( "aa¶cc¶bb¶ab" ; "asc" )
  Sample output:
aa
ab
bb
cc

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

description:
Sort return-separated text.
Not requiring any other custom functions.
ex1:
SortValue ( "aa¶cc¶bb¶ab" ; "asc" )
-> "aa¶ab¶bb¶cc"
ex2:
SortValue ( "aa¶cc¶bb¶ab" ; "des" )
-> "cc¶bb¶ab¶aa"
ex3:
SortValue ( "5¶10¶2¶1" ; "asc" )
-> "1¶10¶2¶5"

 

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.