Hi guys I am having problems with finding the longest word available in WordList["English"]
I have found that the longest word has 24 characters thanks to this line
Max[StringLength[WordList[]]]
but I don't know how to find the position of the word Knowing her length. I thought I need some selection rule but I fail to implement it. any help?
MaximalBy[StringLength]@WordList[]
. $\endgroup$Take
but don't assume you needTake
. $\endgroup$WordList[]
is 24 characters long, why notSelect[]
all the entries in it whoseStringLength[]
is==
24? (This is one of the things I like about this language; sometimes the solution statement directly translates to usable code.) $\endgroup$