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

Share on Facebook Share on Twitter

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

  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 ) ).

The result of Guillotin ( "Chest¶Legs" ) is "Legs¶" rather than "Legs". However, the valuecount function returns 1 in both cases.

If you use Guillotin ( "Legs¶" ) in the next round, the result will be empty and you can safely test the state using The isempty function.



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,
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 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 16 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: