String token: space : String Token « String « PHP






String token: space

<?
$token = strtok("open-source HTML-embedded server-side Web scripting"," ");
while($token){
  print($token . "<BR>");
  $token = strtok(" ");
}

?>
      
           
       








Related examples in the same category

1.Use more than one delimiter to split string
2.String token for string split
3.String string token value
4.Dividing a String into Tokens with strtok()