本文介绍了在PHP中修改字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个字符串包含:sample1,sample2,sample3 ......

我怎么能这样想:"sample1","sample2","sample3" .......


我的问题是如何直接插入双qoutes:

$ sample =``sample1,sample2,sample3'';

我该怎么做

$ d =''"sample1","sample2","sample3"'';


关于

hi every body,

i have a string contain: sample1,sample2,sample3 ......

how can i coustimized to be: "sample1","sample2","sample3".......


my question is how to insert the double qoutes directly:

$sample = ''sample1,sample2,sample3'';

how can i make it like that

$d = ''"sample1","sample2","sample3"'';


Regards

推荐答案




这篇关于在PHP中修改字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-06 00:00
查看更多