cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Assign double quote character to a string parameter

TomU
23-Emerald IV

Assign double quote character to a string parameter

Does anyone know of a way to assign a double quote to a string parameter via relations? I can manually create a new parameter and add a double quote to it, but not programmatically.

My current workaround is to manually create a parameter with a value of " and then use this parameter any time I need a double quote character.

DBL_QUOTE = " (manually created - doesn't work in a relation)

STRING_PARAM = DBL_QUOTE + "BLAH BLAH BLAH" + DBL_QUOTE

Yes, I NEED the double quote in the final string. The ASCII value (34) is critical.

Thanks!

Tom U.
2 REPLIES 2


Tom,

Try the following. ...
Parameter A = " + parameter B + "

Hope this helps
Don Anderson

TomU
23-Emerald IV
(To:TomU)

Wow, why didn’t I think of that. Works great! Thanks!

Tom U.
Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags