TrimFrom ( text ; delimiter ; occurrence )
returns all text following the specified occurrence of the specified delimiter
Average rating: 5.0 (1 vote) Log in to vote
Jeff Drake - Show more from this author
Drakeling Technologies |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This function acts like Right, but uses the Position of the specified delimiter as a point of reference. If the occurrence parameter is:
• a positive integer, the value returned will be all characters following that occurrence of the delimiter, moving forwards from the first character of the original text.
• a negative integer, the value returned will be all characters following that occurrence of the delimiter, moving backwards from the last character of the original text.
• zero or non-numeric, the original text is returned in its entirety.
Comments
Brian Dunning, BrianDunning.com Aug 20, 2018 |
||
Reading your description, it sounds to me like the output in your example should be iss. | ||
Brian Dunning, BrianDunning.com Aug 20, 2018 |
||
Oh no, I get it now. Never mind. | ||
Jeff Drake, Drakeling Technologies Aug 20, 2018 |
||
Perhaps I didn’t word it well. I’m certainly open to suggestions, if you have any What I’m trying to get across is that, in the example, the function will return everything following the third "i" in "Mississippi". |
||
Jeff Drake, Drakeling Technologies Aug 20, 2018 |
||
No problem. I updated the description so it’s hopefully more understandable. | ||
Razor Jan 21, 2019 |
||
Did exactly what I expected it to do. Nice! | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.