spanExcluding

Gets characters from a string, from the beginning to a
character that is in a specified set of characters. The
search is case-sensitive.

spanExcluding(String, set) → returns String

spanExcluding Argument Reference

String
Required

set
Required

A string or a variable that contains a set of characters.
Must contain one or more characters

Examples sample code invoking the spanExcluding function


Tag Example

<cfoutput> 
 #spanExcluding('This is Great', 'r')# 
 </cfoutput>  

Fork me on GitHub