Static

Description

Move one index to another location of an array

Usage

Parameters

  • array {&Array}

    Array to handle

  • pos1 {Integer}

    Index of the element to move

  • pos2 {Integer}

    Destination index

Returns

Array

Discussion