510
ListValueCountNoCase
Description
Returns the number of instances of a value in a list. The search is not case-sensitive.
Category
List functions
ListValueCountNoCase(list, value [, delimiters ])
Syntax
See also
ListValueCount
Parameters
Parameter
list
value
delimiter
Example
<!--- This example uses ListValueCountNoCase to find the
number of employees in a department --->
<html>
<head>
<title>ListValueCountNoCase Example</title>
</head>
<body bgcolor = "#FFFFD5">
<cfquery name = "SearchByDepartment" datasource = "cfsnippets">
SELECT Department
FROM Employees
</cfquery>
<H3>ListValueCountNoCase Example</H3>
<P>This example uses ListValueCountNoCase to see how many
employees are in a department.
<form action = "listvaluecountnocase.cfm" method = "POST">
<P>Select a department:</P>
Description
A list or the name of a list to search.
The string or number that the function is to find and count.
Optional. The character(s) used to delimit elements in the list.
The default is a comma.
<select name = "departmentName">
<option value = "Accounting">
Accounting
</OPTION>
<option value = "Administration">
Administration
</OPTION>
<option value = "Engineering">
Engineering
</OPTION>
<option value = "Sales">
Sales
</OPTION>
Chapter 3 ColdFusion Functions
Need help?
Do you have a question about the COLDFUSION 5 - CFML and is the answer not in the manual?