Home > php教程 > php手册 > str_replace使用

str_replace使用

WBOY
Release: 2016-06-13 09:41:30
Original
803 people have browsed it

   

$begintime=str_replace("-", "","2014-03-05");        (需要替换的字符串,换成字符串,需要被替换的字符串)

输出:20140305

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template