Need help to fix code syntax

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
techimac
Posts: 292
Joined: Fri Feb 20, 2015 9:27 pm

Need help to fix code syntax

Post by techimac » Mon May 01, 2017 5:36 am

Please fix the syntax in following 2 lines

Code: Select all

ClickConnect += "SET !EXTRACT EVAL(\"\"{{!EXTRACT}}\".replace(/^\s*|\s*$/g, \"\");\")" + "\n";
ClickConnect += "SET !EXTRACT EVAL(\"var s=\"{{!EXTRACT}}\"; s.split(\" \", 1);\")" + "\n";
Thanks
Post Reply