Name
similarity_language_tag
Synopsis
similarity_language_tag(lang1
,lang2
)
Returns an integer that represents the degree of similarity
between lang1
and
lang2
:
similarity_language_tag('fr', 'fr-ca'); # 1 similarity_language_tag('fr', 'en-US'); # 0
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.