Inside Coldfusion MX

"-->

SpanExcluding (string, set)

Description

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

Example

<cfset exampleString = "I like bunnies and big dogs"> <cfoutput> I don't really like big dogs: #SpanExcluding(exampleString, "a"># </cfoutput>

Категории