SpanExcluding

Get characters from a string, from the beginning to a character that is in a specified set of characters.

The search is case-sensitive.

Method Signature

SpanExcluding(string=[string], set=[string])

Arguments

Argument
Type
Required
Description
Default

string

string

true

The string to extract from

set

string

true

The set of chracters to exclude from the span.

Examples

Tag Example

<bx:output> 
 #spanExcluding( "This is Great", "r" )# 
 </bx:output>  

Additional Examples

Run Example

Last updated

Was this helpful?