Copy link to clipboard
Copied
I tried this:
var a = "Test,_,t"
var b = a.includes("7");
So I got this error:
a.includes is not a function
So is there any other way to verify the if a string is inside another string please?
Here's PProPanel using ExtendScript to find an occurrence of a string, within a string:
https://github.com/Adobe-CEP/Samples/blob/e60d6a22ef44d8eb4cca3904c35a0c050576b697/PProPanel/jsx/PPRO/Premiere.jsx#L264
Copy link to clipboard
Copied
Here's PProPanel using ExtendScript to find an occurrence of a string, within a string:
https://github.com/Adobe-CEP/Samples/blob/e60d6a22ef44d8eb4cca3904c35a0c050576b697/PProPanel/jsx/PPR...