Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: How to escape the percent sign reeserved character
Topic Summary: Escape Character for %
Created On: 08/26/2013 11:57 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 08/26/2013 11:57 AM
User is offline View Users Profile Print this message

Author Icon
CaseyHarris
Journeyman (50-99)

Posts: 62
Joined: 07/15/2013

Greetings,If I want to use a '%' in a string, how do I escape it so it is not interpreted as an Automate % character?Thanks In Advance,Casey

 Category Survey


-------------------------
Thanks,

Casey
 08/26/2013 12:04 PM
User is offline View Users Profile Print this message

Author Icon
CaseyHarris
Journeyman (50-99)

Posts: 62
Joined: 07/15/2013

I figured it out - use %%.Casey

 Category Survey


-------------------------
Thanks,

Casey
 08/26/2013 12:43 PM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hi Casey,

That is correct in order to send a literal % you must double it.

For example: If you want to send a%b you must type in a%%b

 Category Survey
AutoMate 8 version:
Windows version:


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700

Edited: 08/26/2013 at 12:51 PM by Ricardo Castaneda
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1467 guests browsing this forum, which makes a total of 1467 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog