Description:
Returns a logical result indicating whether two strings are the
same, apart from case. In assessing this, the first string is allowed to be an abbreviation
of the second string, as long as it contains a specified minimum number of characters.
Invocation
RESULT = CHR_ABBRV( STR1, STR2, NCHAR )
Arguments
STR1 = CHARACTER
(
) (Given)
The first string, which may be an abbreviation.
STR2 = CHARACTER
(
)
(Given)
The second string.
NCHAR = INTEGER (Given)
The minimum number of characters to
which the first string may be abbreviated (a smaller number will be accepted if there are actually
fewer than NCHAR characters in STR2).
Returned Value
CHR_ABBRV = LOGICAL
Whether the
two strings match after allowing for case and abbreviation of the first string to no less than NCHAR
characters.
Copyright © 2018 East Asian Observatory