Processing math: 100%

CHR_SIMLR

Return whether two strings are equal, apart from case

Description:

Determine whether two strings are the same, ignoring distinctions between upper and lowercase letters. Their lengths must be identical after removing trailing blanks.

Invocation

RESULT = CHR_SIMLR( STR1, STR2 )

Arguments

STR1 = CHARACTER ( ) (Given)
The first string.
STR2 = CHARACTER ( ) (Given)
The second string.

Returned Value

CHR_SIMLR = LOGICAL
Returned as .TRUE. if the two strings are the same ignoring case distinctions; otherwise .FALSE.