> Explode() in php ~ Online tutorial

Explode() in php

Explode()
The explode() functon breaks a string into an array
Note
Separator cannot be empty
Synatx
explode(separator,string,limit)
Example

<?php
$str="welcome to india";
echo explode("",$str);
?>
Output
Array([0]=>hello
[1]=>to
[2]=>india)

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: