struct.keyList()

Extracts keys from a struct.

struct.keyList( [ delimiter ] )

Returns: String

Argument Description
delimiter
string, optional

Character that separates keys in list. Default: comma.

Alias: delimiters

Examples

animals = {
		cow: "moo",
		pig: "oink",
		cat: "meow",
		bird: "chirp"
	};
	// StructKeyList(animals)
	animalList = animals.KeyList();
	echo(animalList);

See also