# MSL Length of String Matching Last MSK

> Source: https://manual.pvxplus.com/variables/msl

***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](https://manual.pvxplus.com/functions/msk)**  
**[TCB( ) Return Task Information](https://manual.pvxplus.com/functions/tcb)**

## Example

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