Visible to Intel only — GUID: GUID-EA0905E8-444D-4873-BE30-7BEF2035E0D5
Visible to Intel only — GUID: GUID-EA0905E8-444D-4873-BE30-7BEF2035E0D5
MBNext
NLS Function: Returns the position of the first lead byte or single-byte character immediately following the given position in a multibyte-character string. This routine is only available for Windows.
Module
USE IFNLS
result = MBNext (string,position)
string |
(Input) Character*(*). Is the string to be searched for the first lead byte or single-byte character after the current position. It can contain multibyte characters. |
position |
(Input) INTEGER(4). Is the position in string to search from. It must be the position of a lead byte or a single-byte character. Cannot be the position of a trail (second) byte of a multibyte character. |
Results
The result type is INTEGER(4). The result is the position of the first lead byte or single-byte character in string immediately following the position given in position, or 0 if no following first byte is found in string.