Title: Longest Word
Level : Easy
Description: For this challenge you will be determining the largest word in a string.
Clue : Using the PHP language, have the function LongestWord(sen) take the sen parameter being passed and return the largest word in the string. If there are two or more words that are the same length, return the first word from the string with that length. Ignore punctuation and assume sen will not be empty.

Solution :

Posted by Luqman Hakim

I am Luqman Hakim Y, founder of this blog. I am Software Engineer and Cyber Security Enthusiast from Indonesia.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.