Print Page | Close Window

Like command coldfusion

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=23606
Printed Date: 29 March 2026 at 10:14am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Like command coldfusion
Posted By: RCorr
Subject: Like command coldfusion
Date Posted: 26 June 2007 at 10:40pm
Hi,

Not sure if this site only focuses on ASP server-side scripting language but I need some assistance with Like command in Coldfusion.

I would like to determine if a user typed in a certain string in a field and decide what do to do with it.  This is what  I have:

<cfif #LCase(Form.name)# LIKE ('%unknown%') >
          do something
<cfelse>
           do something else
</cf>

The program doesn't like the LIKE operator.  Any suggestions would be appreciated.

Thanks,
RCorr



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net