Right()
Returns a substring from end of the input string, with a length specified by the count argument.
Right( string=string, count=number );
Returns: String
Examples
//simple Function
writeDump(right("I love lucee",5));//lucee
//Member function
str="Save trees, save life on the earth.";
writeDump(str.right(23));//save life on the earth.
See also
- Strings
- Left()
- string.right()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)