${(N)…}
: Include length of pattern matching
(N)
is only useful for parameter expansion operators ${.../...}
and ${(S)...#...}
.
It includes the length of the match in the result.
Links
BashSupport Pro is a Zsh IDE with support for ${(N)…} – try it now!