$charClone

Returns a string of the given lentgh consisting of the given character.
Syntax
    $charAt{some_character}{some_length}
DocumentationFunction $charClone returns a string of the given lentgh consisting of the given character:

    Parameters:
      some_character, a character value
      some_length, an positive integer value or zero
    Returns:
      a string of length 'some_length' consisting of the given character value
    Throws:
      an java.lang.IllegalArgumentException if the first parameter is not a single character
      an java.lang.NumberFormatException if the second argument is not a positive integer or zero
Examples
    $//Get an empty string
    $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}
GroupString
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters2
Maximum parameters 2