Intern — Middle
Search for the word «Nemo» in the sequence
livecode
Task condition
Given a string consisting of several words separated by spaces. Find the first occurrence of the word "Nemo" and return the phrase "I found Nemo [position number]", where the position number is counted from 1. If the word "Nemo" is not present in the string, return "I cannot find Nemo".
"I found Nemo at 2" == solution("Hi Nemo") "I found Nemo at 1" == solution("Nemo James Nemo")