Name

SpanIncluding

Synopsis

SpanIncluding(string, set)

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

<CFSET MyString="I like ColdFusion alot">

<CFOUTPUT>
<B>Original String:</B>  #MyString#
<P><B>SpanIncluding(MyString, "I like"):</B> #SpanIncluding(MyString, "I like")#
</CFOUTPUT>

Get Programming ColdFusion 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.