The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Maximal size of the attribute entries
![s_nektarijevic](https://us.v-cdn.net/6030995/uploads/defaultavatar/nCCNNSPK1YM69.jpg)
![](https://s3.amazonaws.com/rapidminer.community/vanilla-rank-images/contributor-16x16.png )
in Help
Dear RapidMiners,
Happy new year to everyone!
The new year already brings new questions! Here is one from me:
Is it possible to get the maximal length of the strings contained in an an attribute? For example, if in an attribute I am storing titles of web pages, is there an elegant way to retrieve the length of the longest title?
Many thanks in advance!
Cheers,
Snezana
0
Best Answers
-
kypexin RapidMiner Certified Analyst, Member Posts: 291
Unicorn
Hi Snezana,
One way for doing this might be using 'Generate attributes' operator and length() function on a nominal attribute containing web page name, then using Sort operator to sort by that new attribute containing the length values.
6 -
MartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533
RM Data Scientist
Hi @s_nektarijevic ,to add to @kypexin comment: Instead of sort you could use an Aggreate operator to directly get max(len).BR,
Martin- Sr. Director Data Solutions, Altair RapidMiner -
Dortmund, Germany6
Answers