Intel® Fortran Compiler 18.0 Developer Guide and Reference

MBVERIFY (W*S)

NLS Function: Performs the same function as VERIFY except that the strings manipulated can contain multibyte characters.

Module

USE IFNLS

result = MBVERIFY (string,set[,back])

string

(Input) Character*(*). String to be searched for presence of any character not in set.

set

(Input) Character*(*). Set of characters tested to verify that it includes all the characters in string.

back

(Input; optional) LOGICAL(4). If specified, determines direction of the search. If back is .FALSE. or is omitted, the search starts at the beginning of string and moves toward the end. If back is .TRUE., the search starts end of string and moves toward the beginning.

Results

The result type is INTEGER(4). If back is .FALSE. or is omitted, it returns the position of the leftmost character in string that is not in set. If back is .TRUE., it returns the rightmost character in string that is not in set. If all the characters in string are in set, it returns 0.

See Also