Home > Backend Development > PHP Tutorial > str_replace use_PHP tutorial

str_replace use_PHP tutorial

WBOY
Release: 2016-07-13 10:36:41
Original
784 people have browsed it

$begintime=str_replace("-", "","2014-03-05"); (The string that needs to be replaced, change it to a string, the string that needs to be replaced)

Output: 20140305

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/738507.htmlTechArticle$begintime=str_replace("-", "","2014-03-05"); (replacement required string, replace it with a string, the string that needs to be replaced) Output: 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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template