Clear - Array

Member of: All Arrays

Removes all items from the array, reducing it to a 0-length array.

SyntaxEdit

Function Clear() native

ParametersEdit

None

Return ValueEdit

None

ExamplesEdit

MyStringArray.Clear()

; In this case, ["Hello", "world"] would become []

See AlsoEdit