PushArrayString Function

Pushes a string onto the end of an array, truncating it if it is too big.

int PushArrayString(Handle array, const char[] value)

Parameters

Handle array

Array Handle.

const char[] value

String to push.

Return Value

Index of the new entry.

Errors

Invalid Handle or out of memory.