Array Operations
Appending Or Prepending To An Array With A Value
You can use the +
operator to append or prepend a string to an array
Removing A Value From An Array
You can use the -
operator to remove a value at an index or a value in the array
Concatenating Arrays
You can use the ++
operator to concatenate and join multiple arrays together
Last updated