$is ends with

Allows you to check if a string ends with the specified suffix.


Example

Running this code will check if the input string "This is a sample string" ends with "end". As shown in the alert box, the value returned is "False".

alert($plugin function("Data and Files Automation.dll", "$is ends with", "This is a sample string", "end"))

For this example, running this code will check if the input string "This is a sample string" ends with "string". As shown in the alert box, the value returned is "True".

alert($plugin function("Data and Files Automation.dll", "$is ends with", "This is a sample string", "string"))

Was this helpful?

Previous Article

$is contains

Next Article

$is equals