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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Display limited string lenght/text of tekstparameter in another parameter

HW_9999718
2-Explorer

Display limited string lenght/text of tekstparameter in another parameter

I want to assign only the first 7 characters of parameter (string) to another parameter. How can I do that via relations?.

Creo 9

ACCEPTED SOLUTION

Accepted Solutions

Use the EXTRACT function.

Something like

stringResult = EXTRACT ( stringSource, 1, 7 )

You should look into the syntax for this relation function.

This should work as long as the string being used as a source is at least 7 characters long.

View solution in original post

1 REPLY 1

Use the EXTRACT function.

Something like

stringResult = EXTRACT ( stringSource, 1, 7 )

You should look into the syntax for this relation function.

This should work as long as the string being used as a source is at least 7 characters long.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags