extract_array

MudOSa4DGD/doc/efun/arrays/extract_array · 388 B

From the archive MudOSa4DGD-30.06.98.tar.gz

Download the archive   « Back to the archive contents

NAME
	extract_array - extract a sub-array from a larger array

SYNOPSIS
	mixed *extract_array(mixed *arr, int from, int to)


DESCRIPTION
	This function will extract the sub-array from arr ranging
	[from..to]. 

	If to is negative, the range will end at sizeof(arr)+to,
	including the element. Indexes out of bounds will conform
	to the boundaries.

SEE ALSO
	efun/arrays/, efun/strings/

Site Stats

Snippets: 1791
Codebases: 571