Strings, Variables, and %

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
TomO
Newbie
Posts: 1
Joined: Tue Jun 03, 2003 4:55 pm

Strings, Variables, and %

Post by TomO » Wed Jun 04, 2003 3:24 pm

What is the mechanism to instruct the script engine to ignore the first % in the %NW parts of the string?

The instruction:
Let>Text1=Common words: %NW{%Fip%}0 - %NW{%Fip%}3

results in:
%NW{%Fip%}0 - %NW{2}3

instead of the desired:
%NW{2}0 - %NW{2}3

Regards

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed Jun 04, 2003 4:06 pm

Take the % you want to keep and make that into its own variable. Like this:
Let>Keep=%
Let>Fip=2
Let>Text1=Common words: %Keep%NW{%Fip%}0 - %Keep%NW{%Fip%}3
MessageModal> This is the answer: %CRLF%%Text1%
Hope this helps.......
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts