网站开发 ecshop判断字符串长度的方模板定义方法 📅 2025年04月24日 ✍️ fwq 🕐 1 分钟阅读 在ecshop当中使用函数strlen 代码范例如下: <!--{if strlen($brand.brand_name)>1}--> <option value="1" >1</option> <!--{/if}--> 准备好搭建你的服务器了吗? FWQ.AI 提供香港、美国、新加坡、日本全球节点,低至 $5/月 免费注册 查看套餐 FW fwq