Brian Dunning's FileMaker Custom Functions

Repeat ( textToRepeat ; numberOfRepetitions )

Have you ever wanted to repeat a simple string and don't want to have to create loops and things to do so? Well here you go.

  Be the first to rate this function Log in to vote

Kevin Y   Kevin Y - Show more from this author
Beezwax

Share on Facebook Share on Twitter

  Sample input:
Repeat ( "Hello" ; 3 )
  Sample output:
"HelloHelloHello"

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

10^2 = 100 - 1 = 99
99 has 2 nines and substitute replaces those each 9s with your text.
10^3 - 1 = 999 ... You see my point.

 

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 21 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: