Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

String token for string split

Sun Oct 26, 2008 10:15 pm

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




Post a reply
  Related Posts  to : String token for string split
 split string in C++     -  
 recursive string reversal- reverse string     -  
 Splitting a String Based on a Found String     -  
 check if string ends with specific sub-string in php     -  
 check if string start with a specific sub-string in PHP     -  
 Pad a string to a certain length with another string     -  
 what is string toString()     -  
 String Sort     -  
 get number from string     -  
 replacing each tab by the string “Tab”,     -  

Topic Tags

PHP Strings