functionalphabet_position($text){$alphabet=range('a','z');$strippedText=str_split(strtolower(preg_replace("/[^a-zA-Z]/","",$text)));$result="";foreach($strippedTextas$letter){$result.=array_search($letter,$alphabet)+1." ";}return$result;}echoalphabet_position("The sunset sets at twelve o' clock.");
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
a bit late but here's the answer anyway... in PHP