The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
How to extract value from range by only using cut function in generate attribute
tomarriott
Member Posts: 9 Learner I
in Help
0
Best Answers
-
ceaperez Member Posts: 541 UnicornHi @tomarriott,The cut function "cut" the nominal attribute using the position of characters. the first argument is the attribute, the second argument is to know from where begin to count and the third argument is for the lenght of extracted string.for the example propused in your message, in order to extract the "1" character from the attribute, the configuration of cut function must becut(yournominalattribute,3,4)
Best0 -
ceaperez Member Posts: 541 UnicornHi @tomarriott,
The function cut works in any row of your attribute (colum)
taking for example the first row in your attribute Maximum(order_data) [-∞ -38.0] the [ corresponds to 0 position, - corresponds to 1 position, etc.if you want to extract the "38" characters your cut function must be like cut(Maxi, 4, 2). This cut function will extract the string "0-" in second row.make sure that your attribute is nominal
Best
0
Answers