Solution 339859

Submitted on 25 Oct 2013 by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% % % Non Reg Exp way of doing it % sourceCode=urlread(''); startInd=strfind(sourceCode,'<span class="titletext">'); headline=sourceCode(startInd(1)+24:startInd(1)+150); headline=headline(1:strfind(headline,'</span>')-1) % % assert(isequal(getTheNews,headline))
headline = UPDATE 2-White House says &#39;Obamacare&#39; website will be fixed by end of <b>...</b>