endsWith¶
Checks if the 1st string ends with the one specified in the 2nd.
Parameters:
| No. | Type | Comments | 
|---|---|---|
| 1 | string | Main string | 
| 2 | string | Suffix value | 
Returns:
boolean - True if the 1st parameter ends with the 2nd.
Usages:
endsWith( val : string, suffix : string) : boolean