Options

How to cust string in Rapidminer

sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
edited December 2020 in Help
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

Answers

  • Options
    David_ADavid_A Administrator, Moderator, Employee, RMResearcher, Member Posts: 297 RM Research
    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,
    David
Sign In or Register to comment.