|
rept
|
The rept function creates a new String of repeating characters from the
characters of the original String.
When to use The rept function is used to create a new String consisting of the
repeated characters of the original String. The number of times the
characters of the original String is repeated depends on the
user specified integer value. The rept function is similar to the substitute function, except
that substitute replaces any or all of the occurrences of the specified
substring whereas rept function repeats the whole String creating a new String
with repeated characters.
(rept text count) The result String after the rept has been done
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types text Any String or Text that you want to repeat. String or Text count A positive number specifying the number of times to repeat the text.
If count is 0, rept returns "" If count is a real value, the fraction part is ignored.
Integer
Returns:
Examples
Argument Types
String
Text
Integer
How do I contact the AIS team?