numwords

Syntax: %numwords(s,d)

return the number of words in string s, delimited by string d (if d is missing, a space is used as the word delimiter)

Examples:

#SHOW %numWords("This is a test.")

displays: 4

#SHOW %numWords("Emergency +++ Enemies +++ Fire+Water elementals","+++")

displays: 3



Contents numrooms numzones