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 cut a string or digit from right side
Hello,
I tried in differnt ways to cut a a string or digit from right side but i m unable to get.
For example I have a column A. I need five digits like column B. Please help me out
A | B |
220170002 | 70002 |
857203 | 57203 |
88986401 | 86401 |
96600 | 96600 |
0
Answers
Hi,
doesn't the suffix function in Generate Attributes do the job?
~Martin
Dortmund, Germany
Exactly as @mschmitz said above, but you might need to convert your integer on the left column into a nominal value first using str() or one of the RapidMiner operators.
Here is a sample process.