Remove first 4 characters of a string with PHP

前端 未结 7 1264
我在风中等你
我在风中等你 2020-12-02 04:43

How can I remove the first 4 characters of a string using PHP?

7条回答
  •  日久生厌
    2020-12-02 05:07

    use php's built in substr function...

    $result = substr("This World", 4); 
    
    //will return " World"
    

提交回复
热议问题