Skip to main content
Jul 17, 2024 11:02 AM UTC
Solved

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

KenFarleyAnswer
Jul 17, 2024 11:53 AM UTC

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.

1 reply

KenFarleyAnswer
Jul 17, 2024 11:53 AM UTC

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.