DEE

数据交换


[字符串是否为空]

<p><strong>方法签名:</strong> </p> <p><code>str_isEmpty(str)</code></p> <p><strong>简要描述:</strong> </p> <ul> <li>判断字符串是否为空</li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">str</td> <td style="text-align: left;">String</td> <td style="text-align: left;">指定需要判断的字符串</td> </tr> </tbody> </table> <p><strong>返回值说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">boolean</td> <td style="text-align: left;">当参数为null,或者字符串为“”时都会放回true,否则返回false</td> </tr> </tbody> </table> <p><strong>使用例子</strong></p> <pre><code>String str = &amp;quot;&amp;quot;; println(str_isEmpty(str));</code></pre> <p><strong>输出结果</strong></p> <pre><code>true</code></pre> <p><strong>备注</strong> </p> <ul> <li>无</li> </ul>

页面列表

ITEM_HTML