Function overview
Prototype
Repeat (
char; times )
Parameters
char
times
Description
Tags:
Repeat
Repeats a short string a variable number of times.
Examples
Sample input
Repeat( "a"; 3 )
Sample output
aaa
Function code
If ( times <= 0; "";
char & Repeat( char; times-1 )
)
// ===================================
/*
This function is published on FileMaker Custom Functions
to check for updates and provide feedback and bug reports
please visit http://www.fmfunctions.com/fid/80
Prototype: Repeat( char; times )
Function Author: The Shadow (http://www.fmfunctions.com/mid/34)
Last updated: 24 November 2008
Version: 1
*/
// ===================================
If ( times <= 0; "";__LITBR__ char & Repeat( char; times-1 )__LITBR__)__LITBR____LITBR__// ===================================__LITBR__/*__LITBR____LITBR__ This function is published on FileMaker Custom Functions__LITBR__ to check for updates and provide feedback and bug reports__LITBR__ please visit http://www.fmfunctions.com/fid/80__LITBR____LITBR__ Prototype: Repeat( char; times )__LITBR__ Function Author: The Shadow (http://www.fmfunctions.com/mid/34)__LITBR__ Last updated: 24 November 2008__LITBR__ Version: 1__LITBR____LITBR__*/__LITBR__// ===================================
Login or register to comment
Create a new account with fmcustomfunctions.com or login to post a comment.
Comments
23 December 2008