Brian Dunning's FileMaker Custom Functions

Guillotin ( Victim )

Removes the first value of a list

  Average rating: 4.4 (23 votes) Log in to vote

Christoph Kaufmann   Christoph Kaufmann - Show more from this author
CLK.ch
http://clk.ch

Share on Facebook Share on Twitter

  Sample input:
Guillotin ( "Head¶Chest¶Legs" )
  Sample output:
"Chest¶Legs¶"

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

Whenever you have a list of values in a variable and need to go through them in a loop, you can always use getvalue ( $list ; 1 ) and use the Guillotin function afterwards to shorten the list. Don't forget to exit the loop if ( isempty ( $list )

 

Comments

Fabrice Nordmann   Fabrice Nordmann, 1-more-thing
Feb 10, 2015
The result is not as documented. RightValues () will append a ¶.

Guillotin ( "Head¶Chest¶Legs" ) = "Chest¶Legs¶"
 
Christoph Kaufmann   Christoph Kaufmann, CLK.ch
Feb 10, 2015
Thank you for the hint, the documentation ist adapted.
 

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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth:

Under construction. Email me your wish list for improvements.