While working with php programming language, This article will help you to split comma, colon or any other delimited string in to array.
Use php explode function to split delimited string to array.
explode(',', $myString );
Create a php script file and use following code. This example code is using command (,) as delimiter. You can also use any other delimiter like colon (:), semi colon (;), slash (/) etc.
<?php $myString = "101,TecAdmin,[email protected],India"; $myArray = explode(',', $myString); echo "<pre>"; print_r($myArray); ?>
Now access file in web browser and you will get following result.
Array (  => 101  => TecAdmin  => [email protected]  => India )