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=string, set=string );
Returns: String
Examples
writeDump(spanExcluding("Plant green! save earth!", "s"));
//Member Function
str="AabByyysss";
writeDump(str.spanExcluding("s"));
See also
- Strings
- string.spanExcluding()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)