• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint