×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Character " in a string expression?

Character " in a string expression?

Character " in a string expression?

(OP)
Is it possible to add the " character into a string expression in NX6?

RE: Character " in a string expression?

Can you show the expression that you are trying to do?

RE: Character " in a string expression?

(OP)
PIPE, WELDED 2" SCH40S

I found a workaround by using '' instead of " but I'm not satisfied with that result...

RE: Character " in a string expression?

Daluigi,

I think this may work for you.

"PIPE,WELDED 2" + CHAR(39) + " SCH40S"

HTH,
 Joe

RE: Character " in a string expression?

It's actually CHAR(34).

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Character " in a string expression?

(OP)
Lovely! Thank you

RE: Character " in a string expression?

Is there a list of what CHAR(###) are available for NX7?

RE: Character " in a string expression?

I've been frustrated by that too.  It seems that the developers were a bit lazy and let the database structure out into the wild of the user expeirience.

Why would anyone ever use the double quotes in a notion field of an engineering software?   

NX 7.5.0.32 MoldWizard

RE: Character " in a string expression?

We had to use SOMETHING to delimit what constitutes an actual "TEXT STRING".

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources