How to cust string in Rapidminer

sgnarkhede2016
New Altair Community Member
Hello,
I have string "ABC_HAPPY" i want to cut "HAPPY" from given string
"ABC_" is common always front string may changes.
how can i do this
I have string "ABC_HAPPY" i want to cut "HAPPY" from given string
"ABC_" is common always front string may changes.
how can i do this
Tagged:
0
Answers
-
Hi,the Generate Attributes operator has a function called cut() where you can specify the part of a string you want to cut away. In your case it would be cut([Column name of the string], 0, 3). As you see, the counting starts with index 0 for the first letter.Best,
David0