| Syntax |
|
| Documentation | Function $charClone returns a string of the given lentgh consisting of the given character:
some_length, an positive integer value or zero
an java.lang.NumberFormatException if the second argument is not a positive integer or zero |
| Examples | |
$charClone{a}{0} Note: $charClone{a}{-3} will also return an empty string and will not throw an exception. $//Create the string 'aaa' $charClone{a}{3} $//Cause $charClone to throw an java.lang.IllegalArgumentException $charClone{aa}{3} $//Cause $charClone to throw an java.lang.NumberFormatException $charClone{a}{a} |
|
| Group | String |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 2 |
| Maximum parameters | 2 |