Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I want to assign only the first 7 characters of parameter (string) to another parameter. How can I do that via relations?.
Creo 9
Solved! Go to Solution.
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.
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.