$is starts with

Allows you to check if a string starts with the specified prefix.


Example

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

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

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

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

Was this helpful?

Previous Article

$is odd