[ create a new paste ] login | about

Link: http://codepad.org/I5eFVDEK    [ raw code | output | fork ]

PHP, pasted on Feb 16:
1
2
3
4
<?php
$v1 = 'thisis,atest';
$v2 = explode(",",$v1,2);
print $v2[0];   


Output:
1
thisis


Create a new paste based on this one


Comments: