A number; the position of substring in string; or 0, if substring is not in string.
Syntax:
Find(substring, string [, start ])
Parameter Description
substring A string or a variable that
contains one. String for which to search.
string A string or a variable that contains one.
String in which to search.
start Start position of search.
Program :
#find("the",stringToSearch)#
#find("the",stringToSearch,35)#
#find("no such substring",stringToSearch)#
Source :
http://livedocs.adobe.com/coldfusion/6.1/htmldocs/functi80.htm#wp1104451
1 comment:
Very informative, keep posting such good articles, it really helps to know about things.
Post a Comment