Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding an Inch symbol (") into a string expression 2

Status
Not open for further replies.

ChaseWichert

Mining
Jan 4, 2012
147
Okay, so I am working with expressions, and have a need to type in 4.25" into a string expression, but it thinks that the " is part of the string statement and gives me an unmatched error. I have also tried to insert it as a char( " ), but I don't even know if that is correct as I have not been able to successfully use it.

Thanks!
 
Replies continue below

Recommended for you

Change the expression to read:
Code:
"4.25" + char(34)
 
OK, try using...

"4.25"+CHAR( 34 )+" TYPE 50 PIN"

...as the value of your Expression.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
Okay, I figured char( " ) that nx gave me when I used the formula thing wasn't correct. And I was also trying to use & instead of +
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor