is_abbrev

Settable:
no
Arguments:
string, string
string, string, integer
Return Value:
boolean

Determines whether the first string is an abbreviated form of the second string. The second form only checks the given number of letters. For example,

is_abbrev("r","room")
is true, and so is
is_abbrev("root","room",3)
but
is_abbrev("r","room",3)
is false, and so is
is_abbrev("root","room")