<!--- 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" )#