I’m Javascript developer and is it possible to match the string partially using applescript.
For Ex:
In javascript
Using IndexOf to match the text in the string partially. Could anyone please tell how to find the partially matched text in the string using applescript.
I was also a bit uncertain as to the meaning of the term “partially matched text in the string”. However, I did a Google search and Javascript string indexOf() is defined as:
The indexOf() method returns the position of the first occurrence of a specified value in a string.
The indexOf() method returns -1 if the value is not found.
The indexOf() method is case sensitive.