String string token value : String Token « String « PHP






String string token value

<?
$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 token: space
4.Dividing a String into Tokens with strtok()