Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Initialize a string that contains % in wse script

Updated: 21 May 2010 | 3 comments
Uma's picture
+2 2 Votes
Login to vote
This issue has been solved. See solution.

Hi,
I am trying to write a wse script in which I want to initialize a string called SPECIAL_CHAR to %. Since % is used to reference a string, I am unable to do this. Is there anyway I can use % in a string in wse?
Thanks!
Uma Harano

discussion Filed Under:

Comments

Chizl's picture
08
Apr
2009
3 Votes +1
Login to vote

Have you tried %%, just a

Have you tried %%, just a guess

EdT's picture
09
Apr
2009
0 Votes 0
Login to vote

That's a good guess

Yes, if you want to include a string with a special character such as %, double it up to %%

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

Uma's picture
09
Apr
2009
0 Votes 0
Login to vote

Thanks EdT, Chizl. It works

Thanks EdT, Chizl. It works BEAUTIFULLY.