S.split With Title Don't Work?
I'm using iMacros. I want to extract/split designperks from: title='designperks's Instagram Profile' So I'm using: SET !VAR1 EVAL('var s=\'{{!EXTRACT}}\'; s.split(\''\'); ') But t
Solution 1:
var title="designperks's Instagram Profile";
s= title.split("'");
console.log(s[0]) // required output
check this.
Solution 2:
var macro;
macro ="CODE:";
macro +="TAG POS=1 TYPE=DIV ATTR=name:SOME_DIV EXTRACT=TXT"+"\n";
iimPlasy(macro)
text=iimGetLastExtract();
text=text.split(",")[0];
alert(text);
This could work if you edit it per your request.
Post a Comment for "S.split With Title Don't Work?"