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 to extract YEAR from a string?

KalokiKaloki Member Posts: 3 Learner I
Hi,

I have this attribute in a dataset that is a string of text :
  • Name: "Angove's 2006 Red Belly Black Shiraz (South Australia)"

How do I create a new attribute, say Vintage and get to have only the year, e.g. 2006 in this case as the value of the new attribute?
  • Vintage: 2006
Appreciate any support.
Am using generate attribute operator, but can't quite work out the syntax correctly...
Thanks.

Best Answers

Sign In or Register to comment.