+ 1

Web

Write a function called longest which will take a string of space-separated words and will return the longest one. For example: longest("This is Africa") => "Africa" longest("A") => "A"

10th Oct 2017, 11:09 PM
Franklin Yaw Frimpong
Franklin Yaw Frimpong - avatar
1 Answer
0
https://code.sololearn.com/WdgTV99T053k/?ref=app This will filter some special character only return longest 1st word in sentences.
11th Oct 2017, 12:25 AM
æž—ć‰é›„
æž—ć‰é›„ - avatar