Gets characters from a string, from the beginning to a
character that is not in a specified set of characters. The
search is case-sensitive.
Lucee Function Reference
Function SPANINCLUDING
Example
spanincluding(string string,string set):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
string | string | Yes | A string or a variable that contains the search string. |
set | string | Yes |
A string or a variable that contains a set of characters. Must contain one or more characters |