Brian Dunning's FileMaker Custom Functions

RightPosition ( text ; searchstring )

Shows everything to the right of the search string in text.

  Average rating: 4.1 (27 votes) Log in to vote

Bob Shockey   Bob Shockey
The Alchemy Group
http://www.alchemy-group.com

Share on Facebook Share on Twitter

  Sample input:
RightPosition ( "thequickbrownfox" ; "quick" )
  Sample output:
quickbrownfox

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

Extracts the rightmost part of TEXT based on the position of the specified SEARCHSTRING. Does not rely on word spaces being present to extract the data, so it can be used in any sort of string or fixed-width data.

 

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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 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: