Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
deleting 0's from an attribute
IljaDeCoster
Member Posts: 7 Contributor II
Dear,
With in a proces i created an nominal attribute with examples like:
0001
0110
1010
0011
0111
1111
...
I would like to change this attribute deleting all the 0's before the first 1 (while keeping the 0's after the first 1). So the example should look like:
1
110
1010
11
111
1111
...
I tried with the replace operator and a regular axpression, but It seems I don't find the right one...
Thanks a lot,
Ilja
With in a proces i created an nominal attribute with examples like:
0001
0110
1010
0011
0111
1111
...
I would like to change this attribute deleting all the 0's before the first 1 (while keeping the 0's after the first 1). So the example should look like:
1
110
1010
11
111
1111
...
I tried with the replace operator and a regular axpression, but It seems I don't find the right one...
Thanks a lot,
Ilja
0
Answers
Best regards,
Marius
I add the process here:
Best regards,
Marius