# System Variables

MSL | Length of String Matching Last MSK

String System Variable

## Contents

Integer, length of string matching last MSK( ) function

## Description

The MSL variable contains a numeric value (integer) that indicates the length of the string that matched the last MSK( ) function. TCB(16) also reports the length of the string.

## See Also

MSK( ) Scan String for Mask
TCB( ) Return Task Information

## Example

print msk("my name is Foxxy","[A-Z][a-z]*"),msl
12 5