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 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.