FILL

FILL repeats a given string as necessary to return a string of a specified length.

This is a TM1® rules function, valid in both TM1 rules and TurboIntegrator processes.

Syntax

FILL(string, length)

Argument

Description

string

A text string. This string is repeated as necessary to achieve the specified length.

length

The length of the string you want the function to return.

Example

FILL('-', 5) returns '-----'.

FILL('ab', 5) returns 'ababa'.