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.
replace string with single quote string
Saurabh_Sawant_24
Member Posts: 7 Learner II
I have a column attribute with following values as
SENDER BANK
RECEIVING BANK
SENDER
RECEIVER
I want a result in single string as follows:
'SENDER BANK','RECEIVING BANK','SENDER','RECEIVER'
SENDER BANK
RECEIVING BANK
SENDER
RECEIVER
I want a result in single string as follows:
'SENDER BANK','RECEIVING BANK','SENDER','RECEIVER'
Tagged:
1
Best Answer
-
kayman Member Posts: 662 UnicornStep 1 : Replace your attribute as follows : find ^(.*)$ and replace with '$1' , this already quotes your attribute
Step 2 : Use the aggregate operator and use concatenate. Now you will get 'SENDER BANK'|'RECEIVING BANK'|...
Step 3 : Replace \| (escaped pipe symbol) with , (comma)8