<?php $str = 'Hello India'; $result = strpos($str, 'i'); // strpos will return the position of i in string then using element position we can retrive the i var_dump($str[$result]);
You have javascript disabled. You will not be able to edit any code.