ends_with
Function Syntax
boolean ends_with( string value, string suffix )
- Checks whether a string ends with a suffix string. (case-sensitive)
- value: String to check
- suffix: Suffix to search for
This function was added in r17911.
Code Samples
The following function call will return true
:
ends_with( "The quick brown fox jumps over the lazy dog", "lazy dog" );