Archive: "FUNCTION_STRING_StrTok" requires 0 parameter(s), passed 5!


"FUNCTION_STRING_StrTok" requires 0 parameter(s), passed 5!
I'm calling ${StrTok} (from StrFunc.nsh) as described in the docs and am receiving an error.

Here's my code:


${StrTok} $0 "This is, or is not, just an example" " ," "4" "1"


Here's the error message:

!insertmacro: macro "FUNCTION_STRING_StrTok" requires 0 parameter(s), passed 5!
I pulled that line of code directly from the docs. Any ideas what the problem is? Thanks!

from the docs:

Every command used in install sections and functions have to be called first before and out of any sections and functions, and without parameters.

Example:
--------

${StrStr}