且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从电子邮件正文中截取签名的***方法

更新时间:2022-12-03 11:37:47

我认为,为了更加防弹,我将采用非正则表达式路线

I think in the interest of being more bulletproof, I will take the non regex route

        echo substr($body, 0, strrpos($body, "\n--"));