$array.insert

Insert a value/array in the array on the given index. It does not overwrite the old values
Syntax
    $array.insert{array}{index}{value/array2}
DocumentationInsert a value/array in the array on the given index. It does not overwrite the old values:

    Paramter:
      array - the array
      index - the position where you will insert the value/array2
      value/array2 - the value or the array you will insert
    Returns:
      none
    Throws:
      none
Examples
    $array.add{$getCurrent{my_array}}{SITEFORUM}
    $array.add{$getCurrent{my_array}}{AG}

      $for{$set{a}{0}}
        {$less{$get{a}}{$toInteger{$getCurrent{my_array}}}}{$incLocal{a}}
        {
        $getCurrent{my_array[$get{a}]}
        }
    Returns:SITEFORUMAG
    $array.insert{$getCurrent{my_array}}{EUROPE}{1}

      $for{$set{a}{0}}
        {$less{$get{a}}{$toInteger{$getCurrent{my_array}}}}{$incLocal{a}}
        {
        $getCurrent{my_array[$get{a}]}
        }
    Returns:SITEFORUMEUROPEAG
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters3
Maximum parameters 3