Name

SpanExcluding

Synopsis

                  
                  SpanExcluding(string, set)

Returns all the characters contained in string until any character from set is encountered. SpanExcluding( ) performs a case-sensitive search. Example:

<cfset MyString="I like ColdFusion alot">
   
<cfoutput>
<b>Original String:</b>  #MyString#
<p><b>SpanExcluding(MyString, "ab"):</b> #SpanExcluding(MyString, "ab")#
</cfoutput>

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.