Posted By

peterbelsky on 01/27/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

tux-world


How to remove first letter from a string using php - substr()


 / Published in: PHP
 

  1. <?php
  2.  
  3. $my_text = '12345678';
  4.  
  5. echo substr($my_text, 1); // 2345678
  6.  
  7. ?>

Report this snippet  

You need to login to post a comment.