Learning ColdFusion 8: OnMissingMethod() Event Handler

<!--- Create a ColdFusion string wrapper. --->
<cfset objString = CreateObject(
	"component",
	"String"
	).Init( "This is wicked sweet!" )
	/>
 
<!---
	Call a standard java method. IndexOf() will return
	the zero-based index of the first matching string index.
--->
#objString.IndexOf( "is" )#

For Cut-and-Paste