Mid()
Extracts a substring from a string.
Mid( string=string, start=number, count=number );
Returns: String
Examples
str="I Love Lucee server";
writeOutput(mid(str,8,5));
//Member function
str="Hi buddy, Nice day!";
writeDump(str.mid(4,5));
See also
- Strings
- string.mid()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)