Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > match

API Function: match

Summary:
check two soundex keys for how closely they match

Defined In LPC Object:
/usr/common/sys/soundexd.c

Prototype:
float match(string first, string second)

Can Be Called By:
Anybody

Description:

Compares two soundex keys and returns a floating-point value between 0.0 and 1.0 for how closely they match.

Return Value:

0.0 means no match at all, 1.0 means a complete match.

Errors:
Normally none.

See Also:
get_key