1 / 4
Computer Service
2 / 4
Networking Service
3 / 4
Web Development Service
4 / 4
Software Development Service
TNW - ICT Solutions
  • Home
  • Available Courses 
  • Available Services 
  • Website Samples 
  • Search Log In
  • <?php
    $string = 'I am Thet Naing Win. This is PHP Testing and Word position Test. If you are insterested in PHP, please join us!';
    $find = 'T';
    $find_length = strlen($find);
    $offset = 1;
    while ($strpos = strpos($string, $find, $offset)){
    echo 'The Character <strong>'.$find. '</strong> is found at '.$strpos.'.</br>';
    $offset = $strpos + $find_length;
    }
    ?>