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.

How do I split strings?

kobeqkobeq Member Posts: 2 Newbie

First off I used the JSON to Data operator, then I selected an attribute called reviews, it contains a string with the review and the Reviewer.

Format: "Review" Reviewer

it may also have ratings like 4.0/5. How do I split the review inside the "" from the reviewer. My goal is to split them both and turn the review attribute into an array that contains them both but separated. I may also want to separate the rating or disregard it.

Answers

  • rjones13rjones13 Member Posts: 203 Unicorn
    edited October 21

    Hi @kobeq,

    I would recommend looking at using the Split operator. I've attached a very small example making some assumptions around your data.

    Best,

    Roland

Sign In or Register to comment.