Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php divide string into parts

$str = explode('=', 'Hello=World');
echo 'str[0] : ' . $str[0] . '<br'>;
echo 'str[1] : ' . $str[1] . '<br'>;

// printout : 
// str[0] : Hello
// str[1] : World
 
PREVIOUS NEXT
Tagged: #php #divide #string #parts
ADD COMMENT
Topic
Name
5+5 =