Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

pjs.moveArray() moves elements from and/or to an array. When moving an array, padding usually means  If padding is specified, it will clear out the remaining characters and elements on in the target after it does the moving. There is also no option to move right, it will always be move leftmove is complete.

Parameters
  1. From array name
  2. From array index (as string, can be variable) - 1 or higher, start from this index when working with the source.
  3. Target array name
  4. Target array index (as string, can be variable)  - 1 or higher, start from this index when working with the target.
  5. Padding (optional Boolean) - if passed in as true, the target will be padded. Can be null.
Example
Example 1: array -> array

...