字符串的增删查改
<div id="article_content" class="article_content clearfix"><link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/kdoc_html_views-1a98987dfd.css">
<link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/ck_htmledit_views-6e43165c0a.css">
<div id="content_views" class="htmledit_views">
<p>字符串的增加(在第24位上增加了字符串)</p>
<pre><code>$my_str = ' HELLO PHP 我爱你!'
$my_str='~';
echo $my_str;</code></pre>
<p>字符串的减少(在第一位上字符串减少为空)</p>
<pre><code>$my_str = "HELLO ,你好"
$my_str='';
echo $my_str;</code></pre>
<p>字符串的查询</p>
<pre><code>$my_str = "HELLO 你好";
echo $my_str;</code></pre>
<p>字符串的修改</p>
<pre><code>$my_str = " HELLO 你好";
echo $my_str = 'i';
echo $my_str;</code></pre>
<p></p>
</div>
</div>
<div id="treeSkill"></div>
页:
[1]