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.
Does Rapidminer support 'RSPLIT'?
Best Answer
-
Chaewon Member Posts: 2 Learner IThank you so much for your answer. Balazs. It works perfectly.
Happy new year.0
Answers
You can achieve this easily with a regular expression replacement.
In Generate Attributes, you can use such a function:
$1 refers to the first match, $2 to the second one. Regular expression matches are "greedy", so the first one consumes as much of the string as it can, until the dash, and puts the rest into the second match.
Here's an example process:
Regards,
Balázs