Name

zstrlen:zchar — ordinary primitive

Synopsis

FORTH

ZSTRLEN ( z* -- len )();
p4:"zstrlen";

Description

push length of z-string.

 : ZSTRLEN ZCOUNT NIP ;

(see libc strlen(3)) / compare with ZMOVE / CMOVE