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

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>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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