count

Count Substrings

Type: function

Returns: integer

Description: The number of substrings in the string is counted and the non-negative integer is returned. See an example of how it is used with the For Loop Example.

Usage:
 count ( <string> , <substring> )

Example 1:

Displayed Text:
The string 'red#orange#yellow#green#blue#purple' has 5 '#' symbols in it.

Action Tag:
The string 'red#orange#yellow#green#blue#purple' has {% count('red#orange#yellow#green#blue#purple','#')} '#' symbols in it.

 

 

| Home |


November 20, 2003

System resources to generate this page:
1: READ FILE A: /home/action/public_html/_global.shtml (0s)
19: READ FILE A: /home/action/adocs/docs/functions.shtml (0s)
6: READ FILE FAILED: /home/action/public_html/docs/functions.txt (0s)
71: SQL SELECT (FNC): DBI:mysql:action_database:localhost (0s)
75: READ FILE A: /home/action/adocs/docs/inc_docHeader.html (0s)
110: READ FILE A: /home/action/adocs/docs/inc_trailer.html (0s)