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