Published on : August 13, 2020
Title:php.str_word_count
Purpose: Count the number of words found in the string “Hello World!”:
Syntax:[php.str_word_count p1=”Hello world!” o.set=template.wordCount /]
Input Parameter
:p1: String
Return Value: Returns a number or an array, depending on the chosen return parameter
Example[php.str_word_count p1=”Hello world!” o.set=template.wordCount /]