Repeat (String str, Integer count)

Example:

In this example, we are passing the required parameters by the function transformation from a Variables object.

Where,

str = AB CD

count = 2

delimiter = ,

Right-click on the function transformation object and select Preview Output. You can see that the characters specified in the str data field are repeating two times, separated by the given delimiter.