@LEN[string] :  Returns the length of string.

 

Examples:

 

echo %@len[this is a test]

14

 

echo %@len[%comspec]

41