Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 436 Bytes

array_insert.md

File metadata and controls

27 lines (15 loc) · 436 Bytes

Funzione array_insert

Restituisce un array con il valore passato aggiunto nella posizione indicata.

Sintassi

  • array_insert(array, pos, value)

Argomenti

  • array un array
  • pos la posizione in cui aggiungere (partendo da 0)
  • value il valore da aggiungere

Esempi

  • array_insert(array(1,2,3),1,100) → array: 1,100,2,3

nota bene

--

osservazioni

--