Command Prompt for Windows




Command CHARPREV

Function:

Determine the number of code-points in the last character of a string. The number of code-points is stored in an environment variable called CHARPREV.

Syntax:

CHARPREV text
textSequence of characters.

Note:

Also see command SUBSTR and CHARNEXT.