Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

MBVERIFY

NLS Function: Performs the same function as VERIFY except that the strings manipulated can contain multibyte characters. This routine is only available for Windows.

Module

USE IFNLS

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

string

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

set

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

back

(Input; optional) LOGICAL(4). If specified, determines the 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