MBVERIFY

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

Module: USE DFNLS

Syntax

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
(Optional; input) 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 is of type INTEGER(4). If back is .FALSE. or is omitted, returns the position of the leftmost character in string that is not in set. If back is .TRUE., returns the rightmost character in string that is not in set. If all the characters in string are in set, returns 0.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also: VERIFY, MBINDEX, MBSCAN