<?php
$t="1234,ali
1112,hasan
1555,ahmad
8555,mehdi4
4441,arash
7889,sajad125
1000,mohamad25";
$r= explode("\n",$t);
foreach ($r as $item) {
echo substr($item,5)."<br>";
}
?>
1
solved How to remove X first characters of some lines [closed]
<?php
$t="1234,ali
1112,hasan
1555,ahmad
8555,mehdi4
4441,arash
7889,sajad125
1000,mohamad25";
$r= explode("\n",$t);
foreach ($r as $item) {
echo substr($item,5)."<br>";
}
?>
1
solved How to remove X first characters of some lines [closed]