June 2002
Beginner
759 pages
80h 42m
English
is_dialect_of
is_dialect_of(lang1,lang2)
Returns true if lang1 represents
a form of lang2. It doesn’t go both
ways, so make sure that lang1 comes
first.
is_dialect_of('en-US', 'en'); # true
is_dialect_of('en', 'en-US'); # false