How to cust string in Rapidminer

sgnarkhede2016
sgnarkhede2016 New Altair Community Member
edited November 2024 in Community Q&A
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

Tagged:

Answers

  • David_A
    David_A New Altair Community Member
    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

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.