Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Yp
Yp.Map

Method Yp.Map()->`[]()


Method `[]

string match(string key)
string `[](string key)

Description

Search for the key key . If there is no key in the map, 0 (zero) will be returned, otherwise the string matching the key will be returned.

Note

key must match exactly, no pattern matching of any kind is done.