if the / is a constant, you can treat it as a delimiter and the string
like a list.

<cfset myList = "AUDIT/Systems">
<cfoutput>#listFirst(myList, '/')#</cfoutput>


On Wed, 8 Dec 2004 09:37:21 -0800, Charles Heizer <[EMAIL PROTECTED]> wrote:
> Hello,
> I was wondering if someone has a way or something to determine if a
> string starts with or begins with. I can do contains but what I'm
> looking for is if I have a string like "AUDIT/Systems" I want to know
> if the string begins with "AUDIT/".
> 
> Thanks,
> - Charles
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186695
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to